[Bug 42382] Re: bash completion does not work for ssh

Jarl 42382 at bugs.launchpad.net
Sat May 28 06:22:35 UTC 2016


@dotancohen: For me, putting `HashKnownHosts no` into `~/.ssh/config`
works fine.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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



More information about the foundations-bugs mailing list