Feature request: FQDN Host match

Michael Stone mstone at mathom.us
Tue Oct 8 04:23:03 EST 2013


On Mon, Oct 07, 2013 at 04:48:11PM +0200, Alexander T wrote:
>This since the fully qualified domain name is not used when matching
>Host directives, and I'm only saying 'ssh mybox', so the rule will
>never match.
>
>So my question is whether there is some specific reason why FQDN isn't
>used when matching Host-entries.

1) ssh doesn't necessarily know what the resolver will end up resolving
(it can't guess what the FQDN will be, it's just passing the string)

2) it would break things like

Host nonexistentname
   HostName existingname.example.com

Mike Stone


More information about the openssh-unix-dev mailing list