≡ Menu


Use SSH Client With Password On Command Line

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?
[click to continue…]