Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2002 10:32:13 +0000
From:      Daniel Bye <dan@slightlystrange.org>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: sshd and passwordauthentication
Message-ID:  <20021227103213.GB56824@catflap.home.slightlystrange.org>
In-Reply-To: <000b01c2ad8f$0c4d3430$952b6e94@lucifer>
References:  <20021227100146.GA56824@catflap.home.slightlystrange.org> <000b01c2ad8f$0c4d3430$952b6e94@lucifer>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 27, 2002 at 11:02:21AM +0100, Didier Wiroth wrote:
> Yes!
> ;-)

Cool.  So, what does your sshd_config look like now?
And did you get any warnings or errors in /var/log/messages when you
restarted sshd?

Maybe you could try logging in to the box using ssh's -v option - use it
multiple times to increase its chattiness.

Dan

> 
> > -----Original Message-----
> > From: owner-freebsd-questions@FreeBSD.ORG
> > [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Daniel Bye
> > Sent: Friday, December 27, 2002 11:02
> > To: freebsd-questions@FreeBSD.ORG
> > Subject: Re: sshd and passwordauthentication
> >
> >
> > On Fri, Dec 27, 2002 at 09:54:03AM +0100, Didier Wiroth wrote:
> > > Hey,
> > > I'm using FreeBSD 4.7-RELEASE with sshd version OpenSSH_3.4p1
> > > FreeBSD-20020702
> > > I would like to use only public key authentication. I've set the
> > > "PasswordAuthentication" option in /etc/ssh/sshd_config to
> > "no" but it
> > > doesn't work! I can still log on with passwords!
> > > Why? How do I have to change the config file to only allow
> > public key
> > > authentication?
> >
> > Did you restart sshd after editing the config file?
> >

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \

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?20021227103213.GB56824>