DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Public Key Authentication
The 'key' here is the chmodding... OpenSSH requires proper permissions!
ssh-keygen -t rsa -b 2048 scp .ssh/id_rsa.pub email@example.com:~ ssh firstname.lastname@example.org chmod 700 .ssh cat id_rsa.pub >> .ssh/authorized_keys chmod 600 .ssh/authorized_keys rm id_rsa.pub