Over a million developers have joined DZone.

Public Key Authentication

·
The 'key' here is the chmodding... OpenSSH requires proper permissions!

ssh-keygen -t rsa -b 2048

scp .ssh/id_rsa.pub user@remote.box:~
ssh user@remote.box
chmod 700 .ssh
cat id_rsa.pub >> .ssh/authorized_keys
chmod 600 .ssh/authorized_keys
rm id_rsa.pub
Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}