Mailing List Archive

Matching the local domain
Hey ssh users,

I'd really like a method to match my local host domain in my ssh config. Basically if I travel with
my laptop I get a domain from dhcp and want to match a Host section based on this domain like
*.localdomain. It doesn't seem like this is currently possible? I tried adding a new %D percent
token to ssh but Host doesn't accept such tokens, only patterns, so that's a bust.

Is this currently possible with openssh? If not, any good ideas for what the config syntax should
be?

Cheers,
Ronan
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev