Public Key Authentication
Join the DZone community and get the full member experience.Join For Free
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
Opinions expressed by DZone contributors are their own.