I try to restrict some kind of login through AllowUser and DenyUser but
failed.
openssh version: 4.5
What I want: disable root login from network outside 192.17.0.0
What I wrote into /etc/ssh/sshd_config
***************************
DenyUsers root
AllowUsers [EMAIL PROTECTED]
***************************

You did not mention what operating system you are using, but if you are using an operating system with PAM, you can use mod_access to accomplish this.

Barry

Reply via email to