I was curious about how the heck this works so I tracked it down to being a feature of the built-in _ssh() completion function. I think it extends the remote listing functionality to several ssh-adjacent tools. https://github.com/zsh-users/zsh/blob/master/Completion/Unix/Command/_ssh#L7

*****
Written on