2012-02-07

SSH log-in without password

SSH has a cool feature that you can use your security key to authenticate rather than your password. In this way, you don't have to enter password all the time. Here is how you can do that.
  1. Run
    ssh-keygen
    command on your Shell/Terminal. Follow the instructions. It will generate your public key and private key pair. 
  2. Run
    ssh-copy-id user@host
    to send your public key to the host. 
  3. Now try to connect to the server and you should not be asked for password again. 
 References:
  1. http://pkeck.myweb.uga.edu/ssh/
  2. http://linuxproblem.org/art_9.html

    No comments: