Can login using root password, but not remotely with SSH

Erik Trulsson ertr1013 at
Mon Oct 22 06:26:54 PDT 2007

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 at

More information about the freebsd-questions mailing list