Configurer le fichier ssh
$ cat ~/.ssh/config
Host pi
Hostname 5.50.77.180
Port 2812
User pi
IdentityFile ~/.ssh/raspberry.id_rsa
Génerer une clé
ssh-keygen -t rsa -C "RaspPI" -b 4096
La copier sur le raspberry
$ ssh-copy-id -i ~/.ssh/raspberry.id_rsa pi