touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #50831
[Bug 42382] Re: bash completion does not work for ssh
Though I could not get `~/.ssh.known_hosts` to not hash, I was able to configure SSH to use the `~/.ssh/config` file for autocompletion. Documented here:
http://unix.stackexchange.com/questions/136351/autocomplete-server-names-for-ssh-and-scp
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/42382
Title:
bash completion does not work for ssh
Status in bash package in Ubuntu:
Invalid
Bug description:
bash completion does not work for ssh.
I have verified that the bash completion portion in the /ect/profiile, /etc/bash_completion and my .bash_profile / .bashrc do not have any commented parts that would inhibit it from working. The bash completion works for other commands.
After looking at .ssh/know_hosts file....that may be the issue.
It does not look like a normal knowhost file
Here is a snippet.
|1|AYGo+egg1pJpsfvebubolAnKnkY=|9gSlcIoCPlH17m8gjAH2G/3f+BM= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEAu9qQ1aV3NzGRzNwE0J8fL5s8rTXnkhVply2yFHKO87M/HJsIJSy/oyEvZU0T0lRIZF/MG0HDIIbtf30O5xOKlxvnLs2KMzVqc7nJc9a+iyak0G1cHLkO8ey2fKuGO7jBq0h6dgz07B188If7L7hwS45OTA0geWh8W2gRgn712/c=
Here is the actual ssh tab complete invocation out of bash..
ssh |1|
It does appear that it is working as it parsing the know_hosts file
and getting "|1|" but it is actually meaningless as it should be a
host name. Maybe a comand sub issue with ssh? Maybe this should be
routed to the ssh folks ???
Note: the original reporter indicated the bug was in package 'bash-
completion'; however, that package was not published in Ubuntu.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/42382/+subscriptions