[go: up one dir, main page]

@alvaro
sign in · lmno.lol

Paswordless ssh with authorized keys

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.



powered by LMNO.lol

privacy policy · terms of service