setting a password less ssh connection
Karl Larsen
k5di at zianet.com
Fri May 19 18:55:47 UTC 2006
Rick Stevens wrote:
> 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.
>
>
I can't see how a public key gives enough saftey to the system. All
mine have passwords and you can fix it so you don't need to type the
password, but it's there. You make yourself a trusted user.
Karl
More information about the fedora-list
mailing list