Re: setting a password less ssh connection

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

 



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@xxxxxxxxxxxxxxx -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-           Give me ambiguity or give me something else!             -
----------------------------------------------------------------------


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux