Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2007 19:33:21 +0200
From:      Federico Lorenzi <florenzi@gmail.com>
To:        freebsd-questions@freebsd.org
Cc:        "W. D." <WD@us-webmasters.com>, Johan Hendriks <Johan@double-l.nl>
Subject:   Re: Can login using root password, but not remotely with SSH
Message-ID:  <200710221933.22465.florenzi@gmail.com>
In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCB19BE0D@w2003s01.double-l.local>
References:  <20071022074758.5131513C4A5@mx1.freebsd.org> <57200BF94E69E54880C9BB1AF714BBCB19BE0D@w2003s01.double-l.local>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710221933.22465.florenzi>