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:bedouglas@xxxxxxxxxxxxx] Sent: Friday, March 21, 2003 1:45 PM To: psyche-list@xxxxxxxxxx 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 bedouglas@xxxxxxxxxxxxx -- Psyche-list mailing list Psyche-list@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/psyche-list -- Psyche-list mailing list Psyche-list@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/psyche-list