From owner-freebsd-questions@FreeBSD.ORG Thu Feb 12 12:04:45 2004 Return-Path: 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 0B16A16A4CE for ; Thu, 12 Feb 2004 12:04:45 -0800 (PST) Received: from aun.it.uu.se (aun.it.uu.se [130.238.12.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 695A743D1D for ; Thu, 12 Feb 2004 12:04:44 -0800 (PST) (envelope-from ertr1013@user.it.uu.se) Received: from hamberg.it.uu.se (daemon@hamberg.it.uu.se [130.238.9.198]) by aun.it.uu.se (8.12.10/8.12.10) with ESMTP id i1CK4g1o017350; Thu, 12 Feb 2004 21:04:42 +0100 (MET) Received: (from ertr1013@localhost) by hamberg.it.uu.se (8.12.10+Sun/8.12.10) id i1CK4fc4021157; Thu, 12 Feb 2004 21:04:41 +0100 (MET) Date: Thu, 12 Feb 2004 21:04:41 +0100 From: Erik Trulsson To: Dragoncrest Message-ID: <20040212200441.GA19140@student.uu.se> References: <200402121949.i1CJnI5q083815@mail5.mx.voyager.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200402121949.i1CJnI5q083815@mail5.mx.voyager.net> User-Agent: Mutt/1.4i cc: questions@freebsd.org Subject: Re: Problem with ssh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2004 20:04:45 -0000 On Thu, Feb 12, 2004 at 02:49:17PM -0500, Dragoncrest wrote: > Hi again everyone. Ok, this issue just popped up today on a different > machine, but it's still bugging me either way. My home mail server > (freebsd 4.8) has SSH available to the internet so I can get into the > box from work if need be. That is the only port open as it's a fetching > mail server so port 25 isn't available to the rest of the world. Nor is > 110. What I just discovered today is that my sshd is allowing auth by > public key OR password. I don't want it to auth by password. JUST > public key. So in other words if you don't already have the public key > file, well, it sucks being you because you won't get connected. > > Anyone know how to do this? Or would this question be better handled on > an SSH mailing list? If so, which list is best and how do I sign up? > Much apreciated on the info. Thanks. Read the sshd_config(5) manpage. The 'PasswordAuthentication' keyword seems to be what you are interested in. -- Erik Trulsson ertr1013@student.uu.se