wasn't it without a = `???
AllowRootLogin no not AllowRootLogin=no !?
Greetz, Dominik
Philipp Snizek schrieb:
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]
***************************
However, after that not only root can not login from anywhere, but all
the other accounts are also disabled
Anything I did wrong?
Yes.
/etc/ssh/sshd_config:
AllowUsers [EMAIL PROTECTED]
AllowRootLogin=no
ssh [EMAIL PROTECTED]
[EMAIL PROTECTED]:~$ su - root
Best,
Philipp