Simple oversight...

The file should have been /etc/ssh/sshd_config
Not ssh_config that one is for ssh client...


Rick

 -----Original Message-----
From:   Bruce Douglas [mailto:[EMAIL PROTECTED] 
Sent:   Friday, March 21, 2003 1:45 PM
To:     [EMAIL PROTECTED]
Subject:        disabling root access from ssh login

hi.

new to linux. i want to disable direct root login/access to my linux (rh8.0)
box. i want to have the user have to login as user foo, and then have to su
to root.

is there an easy/quick way to do this?

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...

thanks...

bruce
[EMAIL PROTECTED]




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




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

Reply via email to