SSH

Add SSH key to remote user

ssh-copy-id -i .ssh/id_rsa.pub USER@SERVER

Fix SSH key file permissions

chmod 600 id_rsa
chmod 644 id_rsa.pub

Disable host key checking

Host host-or-ip
   StrictHostKeyChecking no
   UserKnownHostsFile=/dev/null
Jan-Lukas Else
20 years old Student, Developer & Blogger