SSH amb clau RSA

Intercanvi de claus SSH per poder accedir sense password.

ssh-keygen -t rsa
cat .ssh/id_rsa.pub | ssh root@localhost 'cat >> .ssh/authorized_keys'

o

ssh-copy-id {username}@{servidor}