index all rss twitter github linkedin email

Álvaro Ramírez

13 July 2014 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