Re: Help with ssh, please
BURLET Frederic <fburlet@info.fundp.ac.be> writes:
> On Wed, 24 Oct 2001, Stan Brown wrote:
>
> > I have a Debian potato + Progeney + 2.4.9 kernel machine. I have installed
> > teh ssh package. I have installed openssh on the HP's on the network. I can
> > ssh between the machines, but I'm still prompted for a password.
> >
> > How can I elimnate this prompt?
>
> From man pages:
>
> 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.
Or, if it's a newer version off ssh, it uses protocol 2 by default.
Check the documentation in /usr/share/doc/ssh.
--
Brian Nelson <nelson@bignachos.com>
Reply to: