Use public RSA key for SSH connection
November 10, 2014
It is really useful to use a SSH connection through public key instead of having to type the password each time (especially if you are using a very complex password).
Create a .ssh folder on your server
First of all, server side, you need to create an .ssh
folder in your home dir.
This is where you will keep your public keys.
Copy your ssh key on the server
Then, you need to copy your public RSA key on the server. Remember that this public key belongs to a machine. If you plan on connecting to your server through several computers, you will need to reproduce this step for each of them.
Update rights for user to use your public key
Change the permissions of the authorized_keys
: