On Fri, Mar 21, 2003 at 10:44:39AM -0800, Bruce Douglas wrote:
> i tried the following with no luck:
> 
> vi to /etc/ssh/ssh_config and added the line:
> 
> PermitRootLogin no
> 
> i then restarted with
> /etc/rc.d/init.d/sshd restart
> 
> i can still login as root...

Right change, wrong file.  You need to make this change in the
"sshd_config" file (as opposed to "ssh_config")  Actually, the stub shoud
PermitRootLogin should already be in the file, so you can just uncomment
the line and change the "yes" at the end to "no" and restart sshd.

"ssh_config" is utilized to configure client ssh usage.

- jkt



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

Reply via email to