Re: ssh

From: Michael Lyngbøl (none@michael--lyngbol.dk.lh.bsd-dk.dk)
Date: Wed 09 May 2001 - 17:03:06 CEST


Date: Wed, 9 May 2001 17:03:06 +0200
From: Michael Lyngbøl <none@michael--lyngbol.dk.lh.bsd-dk.dk>
To: bsd-dk@BSD-Dk.dk
Subject: Re: ssh

On 09.05.2001 16:37:52 +0000, Jimi Jørgensen wrote:
> Når nu man gerne vil lave backup fra en central backup-maskine og er så naiv
> at man forventer at det kan lade sig gøre at lave et script til at gøre alt
> det kedelige, er der så en måde hvor man kan få ssh klienten til IKKE at
> bede om sit password hver gang den skal connect'e til en remote maskine ??

Fra ssh(1):

"
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
authen­tication.
"

Det er også muligt at 'truste' en hel maskine (/etc/ssh/ssh_known_hosts,
~/.shosts). Læs selv man-siden.

/Michael



This archive was generated by hypermail 2b30 : Wed 15 Nov 2006 - 18:24:07 CET