From owner-freebsd-questions@FreeBSD.ORG Fri Oct 29 12:44:14 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 5934F16A4CE for ; Fri, 29 Oct 2004 12:44:14 +0000 (GMT) Received: from 9.hellooperator.net (cpc3-cdif2-3-0-cust202.cdif.cable.ntl.com [81.103.32.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2B9143D53 for ; Fri, 29 Oct 2004 12:44:13 +0000 (GMT) (envelope-from rasputnik@hellooperator.net) Received: from [10.4.0.1] (helo=bingo.tenfour) by 9.hellooperator.net with esmtp (Exim 4.43) id 1CNW5x-0001JY-Cd; Fri, 29 Oct 2004 13:43:05 +0100 Received: from rasputnik by bingo.tenfour with local (Exim 4.43 (FreeBSD)) id 1CNW72-0001tc-4P; Fri, 29 Oct 2004 13:44:12 +0100 Date: Fri, 29 Oct 2004 13:44:12 +0100 From: Dick Davies To: joshua Message-ID: <20041029124411.GB7262@bingo.tenfour> References: <20041029071301.42346.qmail@web15706.mail.cnb.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041029071301.42346.qmail@web15706.mail.cnb.yahoo.com> User-Agent: Mutt/1.4.2.1i X-Spam-Score: -1.2 (-) cc: FreeBSD Questions Subject: Re: question about openssh authentication. 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: Fri, 29 Oct 2004 12:44:14 -0000 * joshua [1036 13:36]: > dear firends: > > there is a puzzle about openssh authentication, i try to solve it, > but i could not, could you help me? > there is two account named as 'joshua' and 'moon' on my server. i > want to disable password authentication method for 'joshua', let he can > login only use public key authentication. but account 'moon' can use > both public key and password authentication. here, how to config > openssh? Could you just enable both methods and disable the 'joshua' accounts password? -- One cannot make an omelette without breaking eggs -- but it is amazing how many eggs one can break without making a decent omelette. - Charles P. Issawi Rasputin :: Jack of All Trades - Master of Nuns