SSH Passwordless Login Using SSH Keygen in 5 Easy Steps

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.95/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

215 Responses

  1. Ravikumar Wagh says:

    Hello Ravi,

    This is because, if you check ssh config file.

    Default path for ssh authorized keys are in .ssh directory at you home directory.

    AuthorizedKeysFile .ssh/authorized_keys

    You can change path if you wish :)

  2. ravi says:

    why we are going to create a .ssh directory on client server?

  3. Yasir says:

    After following above steps i’m unable to login for local host

  4. Sai K says:

    After step 2, when I enter my password, I’ve been getting an error.

    stty: standard input: invalid argument

    Any comments on how to solve this?

  5. dexter says:

    Any way to disable the typing animations? Even ebooks don’t have this. It in no way assists, just distracts & irritates.

    Oh – the info is great btw, worked a treat.

  6. Alexander says:

    It would really be much easier to read your article if you used “source server” and “destination server” instead of IP addresses.

  7. Sowjanya says:

    Great One!!!

  8. Nan Xiao says:

    In step 1: “generate a pair of public keys”, it should be “generate a pair of public/private keys”.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *