[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problems with ssh



Just an added note, I would include a password (passphrase!) on your RSA key, this gives you added security against the key falLing into the wrong hands.

Phil

-----Original Message-----
From: Kenneth Pronovici <pronovic@skyjammer.com>
To: Hernan Del Boca <hdelbo@mecon.gov.ar>
Date: Mon, 7 Jan 2002 12:24:16 -0600
Subject: Re: problems with ssh

> i have problems with the ssh server..
> im trying to connect to a server via ssh but i dont want the server to ask 
> for the password.
> how can i fix it?

>From 'man ssh'

   ssh implements the RSA authentication protocol automatically.
   The user creates his/her RSA key pair by running ssh-keygen(1).  This
   stores the private key in $HOME/.ssh/identity and the public key in
   $HOME/.ssh/identity.pub in the user's home directory.  The user should
   then copy the identity.pub to $HOME/.ssh/authorized_keys in his/her home
   directory on the remote machine (the authorized_keys file corresponds to
   the conventional $HOME/.rhosts file, and has one key per line, though
   the lines can be very long).  After this, the user can log in without
   giving the password.  RSA authentication is much more secure than rhosts
   authentication.

KEN

--
Kenneth J. Pronovici <pronovic@ieee.org>
Personal Homepage: http://www.skyjammer.com/~pronovic/
"They that can give up essential liberty to obtain a little
 temporary safety deserve neither liberty nor safety."
      - Benjamin Franklin, Historical Review of Pennsylvania, 1759





Reply to: