June 30, 2007

How to configure ssh known_hosts?

I am using OpenSSH on Red Hat Linux. How do I set up the known_hosts file in the .ssh folder so that I can log on to remote machines without typing in a password?

  1. On your local machine, you need to create a private/public key files.
    Log in, they type "ssh-keygen -t rsa", and just press enter when asked for the passphrase (no password). It will put two files in your ~/.ssh/ folder. They are "id_rsa" and "id_rsa.pub". Don't give out your "id_rsa" file, it is private. The "id_rsa.pub" is the public key and you need to add it to the remote computer's "authorized_keys" file. Once it is added, you should be able to connect with no password.
  2. This looks to be closer to answering your question:
    http://www.astro.caltech.edu/~mbonati/wi…
  3. http://amath.colorado.edu/computing/unix…

    This should help get you started.

Tags: ,

Tell a Friend Today!

del.icio.us Digg Furl Reddit Ask BlinkList blogmarks Blogg-Buzz Google Ma.gnolia Netscape ppnow Rojo Shadows Simpy Socializer Spurl StumbleUpon Tailrank Technorati Windows Live Wists Yahoo! Help

Permalink • Print

Track this entry

RSS BlogPulse

RSS Technorati Cosmos

Related Searches

, , , ,