[PATCH] Allow matching HostName against Host entries

Ryan Kavanagh rak at debian.org
Wed Apr 17 01:52:48 EST 2013

On Sunday, April 14, 2013 at 16:29:38 +0200, Ángel González wrote:
> So you would replace hostname above with eg. ‘expandhost’
> host foo
> expandhost foo.bar.com
> The configuration option expandhost would work just like hostname, but
> making foo.bar.com match with the following configuration entries.

I think this is a much cleaner approach than what I proposed; users
don't need to worry about MatchHostName somehow clobbering their
config file, it requires setting one option (ExpandHost) as opposed to
two (HostName & MatchHostName), etc. Seeing that this option had
support in another subthread, I'll update my patch to use ExpandHost

To those who objected to my initial patch, does this change address
your concerns?

Best wishes,

|_)|_/	Ryan Kavanagh		| Debian Developer
| \| \	http://ryanak.ca/	| GPG Key 4A11C97A

More information about the openssh-unix-dev mailing list