Password-less SSH Login

An SSH key pair is needed to connect to an SSH server. It is possible to create a password-less key pair so as to bypass the password prompt when you connect to your SSH server. This is handy for when you need to automate some processes through scripting. Follow the instructions below to create a new password-less key pair:

Next, you will need to copy the contents of id_dsa.pub to a file named authorized_keys and transfer the file to the target system you wish to connect to. Follow the instructions below:

You should now be able to connect to your SSH server without having to enter a password.

Ex) scp ~/.ssh/authorized_keys user@targetserver:~/.ssh/