-
Notifications
You must be signed in to change notification settings - Fork 377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ssh not completing from known_hosts #10
Comments
sshfs completion needs ssh's completion and pulls it in on demand, that's why it starts to work after it. The |
See also 06996ea |
Thanks for your help, this has been driving me nuts for ages. Using
After commenting that out everything began working correctly. Sorry for the noise, and thanks for putting me on the right track. |
I've installed 2.1 from homebrew on osx, and for some reason the ssh completer for known hosts is not being run (or registered, I think). I was using an older version 1 that correctly completed via known hosts.
To confuse the matter, if I try to complete after
sshfs <TAB>
, that will successfully load from known_hosts. It seems that once known_hosts has been triggered, then regularssh <TAB>
will correctly list all known hosts.The same behaviour occurs whether or not a hostname is partially written already, such as
ssh dat<TAB>
produces no output (unless another known_hosts completer has executed).Bash version is 4.3.42:
I know this isn't much to go by, so if I can provide anything extra please let me know and I'll do so happily.
Here's an example from a new terminal session:
The text was updated successfully, but these errors were encountered: