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? You can use the sshpass command to provide the password for ssh based login. It is a non-interactive ssh password auth tool.