[svlug] SSH and root logins?
bpm at idiom.com
Thu Aug 15 13:07:39 PDT 2002
On Thu, 2002-08-15 at 12:51, Webb Sprague wrote:
> Hi All,
> Does anyone know how to set up sshd so that it will
> not accept a login as root, forcing folks (me only, I
> hope) to su?
>From man sshd:
Specifies whether root can login using ssh(1). The argument must
be ``yes'', ``without-password'', ``forced-commands-only'' or
``no''. The default is ``yes''.
If this option is set to ``without-password'' password authenti
cation is disabled for root.
If this option is set to ``forced-commands-only'' root login with
public key authentication will be allowed, but only if the
command option has been specified (which may be useful for taking
remote backups even if root login is normally not allowed). All
other authentication methods are disabled for root.
If this option is set to ``no'' root is not allowed to login.
More information about the svlug