Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 1
    I recently upgraded Ubuntu 14.04 to 16.04, and with it came this bug. This answer is perfect; it gets me right back to the original behavior. Thanks! Commented Sep 7, 2016 at 22:33
  • ugh #2267 means that Host nickname; Hostname hostname stanzas are no longer able to provide nicknaming. It'll work if you add the CanonizalizeHostname yes keyword in each nickname block, but that doubles the size of the nickname blocks and looks ugly. Commented May 23, 2018 at 16:48
  • If you're using a bunch of nicknames for the same site, you can list them all in the Host or Match host test, then use %h in the HostName. For example, for foo.x.com and bar.x.com: Match host foo,bar CanonicalizeHostname yes Hostname %h.x.com Commented Jul 2, 2020 at 20:11