This is more of a personal reminder than anything.

cat ~/.ssh/id_rsa.pub | ssh user@example.org "mkdir ~/.ssh; cat >> ~/.ssh/authorized_keys"

ssh-keygen -t dsa

ssh-copy-id username@remotehost

chmod 600 .ssh/authorized_keys

The first is in the event that ssh-copy-id doesn't work.

Continue reading...