Date: Mon, 22 Oct 2007 22:11:12 +0000 From: Pollywog <lists-fbsd@shadypond.com> To: FreeBSD-Questions@freebsd.org Subject: Re: Can login using root password, but not remotely with SSH Message-ID: <200710222211.12698.lists-fbsd@shadypond.com> In-Reply-To: <20071022174243.GA96030@brick.slightlystrange.org> References: <20071022074758.5131513C4A5@mx1.freebsd.org> <20071022174243.GA96030@brick.slightlystrange.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710222211.12698.lists-fbsd>