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

Re: setting a password less ssh connection



On Fri, 2006-05-19 at 18:00 +0000, hicham wrote:
> Hello
>  I'm having trouble to set a passwordless ssh connection between many pcs ,
> I've found lot on the web about exchanging public keys but i still
> cannot make it password less

First, you have to generate the password on the client.  I recommend
using DSA, but that's my choice.  On the client:

	ssh-keygen -t dsa

I'd just hit <ENTER> at each question.  This should generate a
"~/.ssh" directory and create two keys in it: id_dsa and id_dsa.pub.

Log into the server machine and go to the user's .ssh directory.
Edit the "authorized_keys" file and put the contents of the CLIENT'S
"id_dsa.pub" in there.  Then log out.

Try to log back into the server machine and it should let you in without
a password.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens vitalstream com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-           Give me ambiguity or give me something else!             -
----------------------------------------------------------------------


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