Linux Tips

Tags:

Passwordless ssh, originally from translucentcode
  • local$ ssh-keygen
  • local$ scp ~/.ssh/id_rsa.pub remote 
  • local$ ssh username@remote 
  • remote$ cat ~/id_rsa.pub >> ~/.ssh/authorized_keys 
  • remote$ chmod 644 ~/.ssh/authorized_keys