Can login using root password, but not remotely with SSH

Pieter de Goeje pieter at
Mon Oct 22 08:39:45 PDT 2007

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).

Pieter de Goeje

More information about the freebsd-questions mailing list