Gunnar Thielebein wrote:
Just want to know if it is possible to define an address range for the Match Address directive in sshd_config? I tried to add range in this way 192.168.2.184/28 and this way 192.168.2.184-192.168.2.200 but this didn't worked.
Support for CIDR notation was added in version 5.1, it's not in the version you're using.
Documentation is rare, someone any clues? I am using openssh 4.7p1
The man pages were updated when the CIDR support was added (note that by default these pages reflect the current development version, however they have not changed much since 5.1):
http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config (the section on the Match keyword) and http://www.openbsd.org/cgi-bin/man.cgi?query=ssh_config (the PATTERNS section).
If there's anything not covered or not clear I would be interested in hearing about it.
-- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.