Date: Mon, 22 Oct 2007 15:08:08 +0200 From: Erik Trulsson <ertr1013@student.uu.se> To: "W. D." <WD@US-Webmasters.com> Cc: FreeBSD-Questions@FreeBSD.org Subject: Re: Can login using root password, but not remotely with SSH Message-ID: <20071022130808.GA50228@owl.midgard.homeip.net> In-Reply-To: <20071022074758.5131513C4A5@mx1.freebsd.org> References: <20071022074758.5131513C4A5@mx1.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 configuration for sshd is to not allow logins from root. You are supposed to login as a normal user and the use su(1) to become root. If you insist on logging as root, you will have to edit /etc/ssh/sshd_config and modify the line that says '#PermitRootLogin no'. See the manpages for sshd(8) and sshd_config(5) for more information. -- <Insert your favourite quote here.> Erik Trulsson ertr1013@student.uu.se
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071022130808.GA50228>