9

SSH - AllowUsers does not work for some reason

view full story
linux-howto

http://www.linuxquestions.org – I want to allow logins into my Debian server only from 3 IP addresses. I added the following line on top of the /etc/ssh/sshd_config file: PHP Code: AllowUsers = *@IP_ADDRESS_1, *@IP_ADDRESS_2, *@IP_ADDRESS_3  Restarted SSH: PHP Code: /etc/init.d/ssh restart  This does not work. I still can login from any IP address. Than I tried this: PHP Code: AllowUsers = username1@IP_ADDRESS_1, username1@IP_ADDRESS_2, username1@IP_ADDRESS_3  The same (HowTos)