@from address range in sshd_config
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.
Documentation is rare, someone any clues?
I am using openssh 4.7p1
Cheers,
Gunnar
Re: @from address range in sshd_config
Gunnar Thielebein wrote:[color=blue]
> 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.[/color]
Support for CIDR notation was added in version 5.1, it's not in the
version you're using.
[color=blue]
> Documentation is rare, someone any clues?
> I am using openssh 4.7p1[/color]
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):
[url]http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config[/url] (the section on
the Match keyword) and
[url]http://www.openbsd.org/cgi-bin/man.cgi?query=ssh_config[/url] (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.