From owner-freebsd-questions Fri Dec 27 2: 2: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE49137B401 for ; Fri, 27 Dec 2002 02:02:03 -0800 (PST) Received: from catflap.home.slightlystrange.org (www.slightlystrange.org [62.190.193.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E69943E4A for ; Fri, 27 Dec 2002 02:01:57 -0800 (PST) (envelope-from dan@slightlystrange.org) Received: from danielby by catflap.home.slightlystrange.org with local (Exim 3.36 #1) id 18RrJK-000En3-00 for freebsd-questions@freebsd.org; Fri, 27 Dec 2002 10:01:46 +0000 Date: Fri, 27 Dec 2002 10:01:46 +0000 From: Daniel Bye To: freebsd-questions@freebsd.org Subject: Re: sshd and passwordauthentication Message-ID: <20021227100146.GA56824@catflap.home.slightlystrange.org> Reply-To: dan@slightlystrange.org Mail-Followup-To: freebsd-questions@freebsd.org References: <000501c2ad85$819386e0$952b6e94@lucifer> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000501c2ad85$819386e0$952b6e94@lucifer> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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