Passwordless SSH login using SSH Keys

Wed, Jul 1, 2009

Linux, OSX, Windows

SSH keys allow you to login without requiring you to type in your password this tutorial will teach you how to set them up

  1. First we need to create the key
    ssh-keygen -t rsa
  2. Then we need to move it over to the machine that we want to be able to login too without the need for a password to do this run the following command
    scp .ssh/id_rsa.pub OTHER-MACHINES-IP:.ssh/authorized_keys
  3. You should now be able to ssh into that machine without needing a password
, , , , , , ,

This post was written by:

Duffy - who has written 48 posts on Tuts4Tech.

I am the owner of this website, please feel free to ask me any questions you have

Contact the author

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

Leave a Reply