Can login using root password, but not remotely with SSH

Pollywog lists-fbsd at
Mon Oct 22 15:11:40 PDT 2007

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.

More information about the freebsd-questions mailing list