host-based ssh authentication (no password) not working ... helpneeded

Marcel de Reuver marcel at de.reuver.org
Sun Oct 10 13:33:29 PDT 2004



>>>Joe Schmoe wrote:
> 
> 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 at SERVER
> 
> and it asks me for a password!!
> 

You have to disable PAM authentication:

--- sshd.conf: ---
...
# Change to no to disable PAM authentication
ChallengeResponseAuthentication no
...



More information about the freebsd-questions mailing list