Can login using root password, but not remotely with SSH

Federico Lorenzi florenzi at gmail.com
Mon Oct 22 11:02:33 PDT 2007


On Monday 22 October 2007 3:00:56 pm Johan Hendriks 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 cannot login directly with root over ssh
>
> You will need to create a user and place that user in the wheel group.
> Then login with that user and do a su -  to become root.
Well... Technically you can login as root directly over SSH, however this
is far from recommended. Just look in the /etc/ssh/sshd_config file if 
this is what you really want, and you should be able to figure it out.
Hint: Search for 'root'

HTH
Federico



More information about the freebsd-questions mailing list