Thanks for reply but this doesn't work. I have read the manual but the problem I think is the wildcard.
Your example:
AllowUsers *.IP.Fire.wall.X CertainUserName.*
My way: AllowUsers *@IP.Fire.wall.X CertainUserName@*
--> in both cases only the user 'CertainUserName' will have access from all hosts; NO other user has access
The entry '*.IP.Fire.wall.X' doesn't work ! My entry with '@' doesn't work, too. I have tried to put the commands into two lines but it is the same problem.
OK - i checked it. And it works. I'd used a 2.9.x sshd with follwing line AllowUsers *@192.168.1.1 test@* And all users comes from 192.168.1.1 were ok. From all other hosts only test-user came in. Check out your spelling (correct ip 2) and version. See /var/log/messages and increase debug mode of sshd with -d option (man sshd) to learn more. If probs goes on mail me - else want to know what was the prob. Michael Appeldorn