-   Linux - Newbie (
-   -   Pass password with ssh command (

BruceC 05-12-2004 09:28 AM

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.

Demonbane 05-12-2004 09:50 AM

read "man ssh" carefully
entering a password is not the only way for authentication

phatboyz 05-12-2004 09:55 AM

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.

All times are GMT -5. The time now is 06:33 PM.