Date: Sun, 10 Oct 2004 22:28:17 +0200 From: "Marcel de Reuver" <marcel@de.reuver.org> To: <freebsd-questions@freebsd.org> Subject: RE: host-based ssh authentication (no password) not working ... helpneeded Message-ID: <FPEKLENMBNKLANOHPBCCMEFOCKAA.marcel@de.reuver.org> In-Reply-To: <20041010192044.11548.qmail@web53301.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>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@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 ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FPEKLENMBNKLANOHPBCCMEFOCKAA.marcel>