Paswordless ssh with authorized keys

from blog lmno.lol @alvaro, | ↗ original
On local host ssh-keygen cat ~/.ssh/id_dsa.pub | ssh user@remotehost 'cat >> ~/.ssh/authorized_keys' On remote host chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys UPDATE: Add "AddKeysToAgent yes" to .ssh/config and enter password only once.