SSH Automatic Login Without Private Key Authentication

There are often times where a tried and true login method using public/private key pair authentication cannot be done, for example when the server is being used only for proxy/VPN server thus not practical/impossible to put files to it. Here comes the rescue, sshpass.

Sshpass is an open source program perfectly suited just for this purpose. It is executed by simply typing the command:

sshpass -p YourPassword ssh -o StrictHostKeyChecking=no

You may also like...