Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2007 17:39:37 +0200
From:      Pieter de Goeje <pieter@degoeje.nl>
To:        freebsd-questions@freebsd.org
Cc:        "W. D." <WD@us-webmasters.com>
Subject:   Re: Can login using root password, but not remotely with SSH
Message-ID:  <200710221739.38062.pieter@degoeje.nl>
In-Reply-To: <20071022074758.5131513C4A5@mx1.freebsd.org>
References:  <20071022074758.5131513C4A5@mx1.freebsd.org>

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

Regards,
Pieter de Goeje



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