@from address range in sshd_config - openssh

This is a discussion on @from address range in sshd_config - openssh ; 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, ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: @from address range in sshd_config

  1. @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


  2. Re: @from address range in sshd_config

    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.c...ry=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.


+ Reply to Thread