Can login using root password, but not remotely with SSH

Manolis Kiagias sonicy at otenet.gr
Mon Oct 22 08:24:22 PDT 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!
>
>
>   
You are probably trying to login as root via ssh. This is not
recommended and is disabled by default.
If you really want to change this, edit /etc/ssh/sshd_login, uncomment
the line PermitRootLogin No and change it to Yes.
Better still, create a normal user account, add it to the wheel group
and use it to ssh to the machine then, use su when needed.


More information about the freebsd-questions mailing list