This procedure allow to log-in to a ubuntu server with openssh without writing the password every time you access.
Generation of the key:
client$ mkdir ~/.ssh client$ chmod 700 ~/.ssh
client$ ssh-keygen -q -f ~/.ssh/id_rsa -t rsa
Enter passphrase (empty for no passphrase): …
Enter same passphrase again: …
Key protection on the client:
client$ chmod 700 ~/.ssh