Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2000 23:27:16 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Sam Carleton <scarleton@miltonstreet.com>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: HELP!!! using RSA w/o passwords?
Message-ID:  <20000318232716.B20206@hades.hell.gr>
In-Reply-To: <38D1B914.985F71CC@miltonstreet.com>; from scarleton@miltonstreet.com on Thu, Mar 16, 2000 at 11:49:25PM -0500
References:  <38D02E15.56AEE21@miltonstreet.com> <20000316145759.B6500@hades.hell.gr> <38D1B914.985F71CC@miltonstreet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 16, 2000 at 11:49:25PM -0500, Sam Carleton wrote:
> Giorgos Keramidas wrote:
>
> > A second, and also important thing is to create with ssh-keygen
> > an RSA key that doesn't have a password.  Then copy the public
> > key (usually found as the file ~/.ssh/identity.pub in ssh1
> > installations) to the ~/.ssh/authorized_keys file in the remote
> > machine, and you're done.
>
> I am simply not getting something, I don't know what.  I still need to
> enter a password.  Ok I am trying to ssh into machine linuxbox from
> machine freebsd.  I am using ssh2, not ssh.  I have created RSA keys
> for root on both linuxbox and freebsd, neither has a password.  I did
> this:
>
>	# cat freebsd_identity.pub >> ~/.ssh2/authorized_keys

This will _append_ the key to your authorized_keys.  I hope you don't
have a hostkey that matches the machine name higher in the file, which
would cause the RSA authentication to fail and fall back to password
authentication.

Try editing the authorized keys file with your favorite editor and
remove all the host keys for the same host.  Then, you can append the
key and see if it still doesn't work.

- Giorgos Keramidas


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000318232716.B20206>