expand %h to the hostname in ssh_config Hostname options. While this
authordjm <djm@openbsd.org>
Mon, 12 Jul 2010 22:41:13 +0000 (22:41 +0000)
committerdjm <djm@openbsd.org>
Mon, 12 Jul 2010 22:41:13 +0000 (22:41 +0000)
commit77154132236f5f4a1bfd8eaa12ed835fb0098e0f
treee281c6baca8307522f7692de10ad415571928ee9
parent88e678f216799117ad0a8a5b8a98c52aaffdc15a
expand %h to the hostname in ssh_config Hostname options. While this
sounds useless, it is actually handy for working with unqualified
hostnames:

Host *.*
Hostname %h
Host *
Hostname %h.example.org

"I like it" markus@
usr.bin/ssh/ssh.c
usr.bin/ssh/ssh_config.5