Pass password with ssh command
Hey Y'all,
I'm trying to put together a script to remotely connect to clients via ssh and execute a script, such as mount then rpm -U. My first obstacle is how to pass a password with the username in the ssh command. I have not seen this in the documentation and am doubtful that this is even possible. Anyone had any luck with this type of thing? thanks in advance. |
read "man ssh" carefully
entering a password is not the only way for authentication |
This is what you are looking for. I am using this to connect via cron and us rsync to remotely back up files. If you need help I can help you.
http://www.linuxquestions.org/questi...ticle&artid=79 |
All times are GMT -5. The time now is 06:04 PM. |