On Wed, 2 May 2001, Robert Reyes wrote:

> Can I disable root login on SSH? if so, how can I do it?

With openssh, in the /etc/ssh/sshd_config file, modify the PermitRootLogin
parameter. The values are yes, no, without-password and
forced-commands-only.

Yes and no are obvious.

without-password only alows authentication as root where passwords aren't
required. This is actually more secure than password logins if used
correctly with DSA/RSA key authentication.

forced-commands-only is like without-password, but only allows ssh for
root if a command has been specified. This is useful where you need to run
commands as root, but the commands are limited and non-interactive
(backups, security scans, etc).

thornton



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to