From owner-freebsd-questions@FreeBSD.ORG Mon Oct 22 15:39:45 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 94EB816A41A for ; Mon, 22 Oct 2007 15:39:45 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from smtp.utwente.nl (unknown [IPv6:2001:610:1908:1000:204:23ff:feb5:7e66]) by mx1.freebsd.org (Postfix) with ESMTP id 0EFF813C48E for ; Mon, 22 Oct 2007 15:39:44 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from lux.student.utwente.nl (lux.student.utwente.nl [130.89.170.81]) by smtp.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id l9MFdcUx020015; Mon, 22 Oct 2007 17:39:38 +0200 From: Pieter de Goeje To: freebsd-questions@freebsd.org Date: Mon, 22 Oct 2007 17:39:37 +0200 User-Agent: KMail/1.9.7 References: <20071022074758.5131513C4A5@mx1.freebsd.org> In-Reply-To: <20071022074758.5131513C4A5@mx1.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710221739.38062.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: "W. D." 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 15:39:45 -0000 On Monday 22 October 2007, 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? > > Thanks! If you really want that to work you need to put 'PermitRootLogin yes' in /etc/ssh/sshd_config. Normally you would want to add your normal user to group wheel. Then when you want root from a remote machine, log in as normal and then run su(1). Regards, Pieter de Goeje