Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Oct 2004 12:20:44 -0700 (PDT)
From:      Joe Schmoe <non_secure@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   host-based ssh authentication (no password) not working ... help needed
Message-ID:  <20041010192044.11548.qmail@web53301.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
I have machines CLIENT and SERVER.

On SERVER, I set the following options in
/etc/ssh/sshd_config :

RhostsAuthentication      no
RhostsRSAAuthentication   yes

Then I copied the host public key from /etc/ssh on
CLIENT to /etc/ssh/ssh_known_hosts on SERVER - so now
the SERVER has the CLIENTs public key.

Finally, I added the hostname of CLIENT to
/etc/hosts.equiv on SERVER.  Then I HUPped sshd on
SERVER.

So now I go to CLIENT and run:

ssh username@SERVER

and it asks me for a password!!

I even tried:

ssh -1 username@SERVER

and that didn't work either.  I thought maybe RSA was
ssh1 only, so I needed to force ssh1 ... but as I
said, that didn't work either.

Two questions:

1. What am I doing wrong ?

2. Am I right that using RSA host authentication like
this will only work with ssh1 ?  If so, how can I use
ssh2 with host based key sharing ?

thanks.


		
_______________________________
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now. 
http://messenger.yahoo.com



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