From owner-freebsd-questions@FreeBSD.ORG Mon Oct 22 22:11:40 2007 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC65F16A417 for ; Mon, 22 Oct 2007 22:11:40 +0000 (UTC) (envelope-from lists-fbsd@shadypond.com) Received: from mx-outbound01.easydns.com (mailout.easydns.com [205.210.42.54]) by mx1.freebsd.org (Postfix) with ESMTP id 92E2A13C480 for ; Mon, 22 Oct 2007 22:11:40 +0000 (UTC) (envelope-from lists-fbsd@shadypond.com) Received: from slider.shadypond.com (69-12-173-117.static.humboldt1.com [69.12.173.117]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx-outbound01.easydns.com (Postfix) with ESMTP id E8D1E8221 for ; Mon, 22 Oct 2007 18:11:26 -0400 (EDT) Received: from slider.shadypond.com (slider.shadypond.com [192.168.1.11]) by slider.shadypond.com (postoffice) with ESMTP id 0912CB659B for ; Mon, 22 Oct 2007 22:11:14 +0000 (UTC) From: Pollywog To: FreeBSD-Questions@freebsd.org Date: Mon, 22 Oct 2007 22:11:12 +0000 References: <20071022074758.5131513C4A5@mx1.freebsd.org> <20071022174243.GA96030@brick.slightlystrange.org> In-Reply-To: <20071022174243.GA96030@brick.slightlystrange.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710222211.12698.lists-fbsd@shadypond.com> Cc: Subject: Re: Can login using root password, but not remotely with SSH X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2007 22:11:40 -0000 On Monday 22 October 2007 17:42:44 Daniel Bye wrote: > On Mon, Oct 22, 2007 at 02:21:04AM -0500, W. D. wrote: > > Brand new install of FreeBSD 6.2. Can't log in with PuTTY. > > > > Remote PuTTY: > > Access denied Using keyboard-interactive authentication. > > > > At computer terminal: > > PAM authentication error for root from 192.168.XXX.XXX > > > > Any ideas? > > Default behaviour in FreeBSD is for SSH to disallow root login. > You can change that in /etc/ssh/sshd_config, but it's probably not a > good idea. The sshd_config man page will tell you how, if you really > want to. I do it sometimes, using PermitRootLogin without-password This does not mean it will accept root logins without any authentication. It means it will accept a passphrase and not a password. Once I am done, I change it back to "No" and reload sshd.