[Bug 1169] Enhancement request to support subnet configurations for Host configuration directive

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Feb 15 10:30:50 EST 2013


Iain Morgan <imorgan at nas.nasa.gov> changed:

           What    |Removed                     |Added
                 CC|                            |imorgan at nas.nasa.gov

--- Comment #10 from Iain Morgan <imorgan at nas.nasa.gov> ---
Perhaps this could be simplified by adding a new keyword, such as
Address, that would function similarly to the Host keyword, except that
it would match against the IP address of the remote host.

To avoid having to parse the configuration twice, we could stipulate
that the first Address section triggers an address lookup and that
subsequent HostName options would have no effect on the address that
would connect to. We could also recommend that all Host sections occur
before any Address sections. However, there could still be issues if an
Address section appears in the user's configuration file and there is a
relevant Host section in the system-wide file.

This approach has the advantage that existing configurations would be
unaffected; even those that have explicit IP addresses on Host lines.

You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.

More information about the openssh-bugs mailing list