sshpass command

How do I pass an additional command line option to my OpenSSH client for password? I need to pass the both usename and password on the command line as follows:

ssh user@server.nixcraft.net.in myPasswordHere “command1″

How do I pass a password to ssh client under Linux or UNIX operating systems?

{ 0 comments }

Q. How do I login over ssh without using password less RSA / DSA public keys? How do I use ssh in a shell script? How do I login non-interactivly performing password authentication with SSH and shell scripts?

{ 27 comments }