Finn-Arne Johansen skrev:
Trond Mæhlum skrev:
However, I now have this: AllowUsers root@172.16.*.* root@172.21.*.* nx *@localhost It doesn't seem to work. I log in as root via ssh, and try to do ssh myuser@localhost. I can not login. When I comment out the line above, it works again. So it would seem that *@localhost is not recognized. Is there more to add in sshd_config.broken dns ?
No.I switched to another approach. I set nx to make use of su instead og ssh to localhost. With that in place and this in sshd_config:
AllowUsers root@172.16.*.* root@172.21.*.* nx it's working like I want it to work. -- Trond