You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A lot of these have to do with hosts defined in the ~/.ssh/config and /etc/ssh_config files not showing up as options for completion. Zsh's own _ssh completion definition has code that reads hosts from ~/.ssh/config, so it seems like they intend for it to be there by default. But it's not showing up for a lot of people, me included. We need to figure this out, to avoid thrashing on this topic.
The text was updated successfully, but these errors were encountered:
#4162 and #2707 look like they're still open (though #4162 has an associated PR merged). I'd rather wait until they get closed out before checking them off.
One of the reasons hosts do not show up is known_hosts - if you delete it, a lot more hosts will be shown for config - i guess the keyword search is limited to a specific number of hits and probably parses known_hosts first, now showing the ssh/config ones at all
Issues related to completion for
ssh
and related commands.Issues
zsh
host completion controls #4257 – common-aliases plugin configures zsh host completionssh root@112.112.112.112
like this command #3229 – Behavior change after OMZ reverted to Zsh's hosts completion (2602)Pull Requests
ssh
pluginssh
plugin (dupe)scp
completion fails/etc/ssh_known_hosts
in host completionTopics
ssh_config hosts
A lot of these have to do with hosts defined in the
~/.ssh/config
and/etc/ssh_config
files not showing up as options for completion. Zsh's own_ssh
completion definition has code that reads hosts from~/.ssh/config
, so it seems like they intend for it to be there by default. But it's not showing up for a lot of people, me included. We need to figure this out, to avoid thrashing on this topic.The text was updated successfully, but these errors were encountered: