Thursday, 12 January 2012

Password-less SSH login

Great tutorial on how to set-up password-less SSH verification on OS X / Unix:

What it basically comes down to is this:

From Terminal, run: ssh-keygen -t rsa

Then copy ~/.ssh/authorized_keys to the server:

If it already exists: cat ~/.ssh/ | ssh "cat - >> ~/.ssh/authorized_keys;

If it doesn't: scp ~/.ssh/

No comments:

Post a Comment