Just a followup ACK that this fixes my problem.
Thanks!
--
bash completion no longer works for ssh known_hosts
https://bugs.launchpad.net/bugs/211180
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
This bug was fixed in the package bash-completion - 20060301-3ubuntu2
---
bash-completion (20060301-3ubuntu2) hardy; urgency=low
* Bugfix release:
- Fix _get_cword more
- Fix _command function to correctly prune the command line (LP: #103395)
- Remove newline from options
Hm, do you by any chance have the UserKnownHostsFile option set in
either /etc/ssh/ssh_config or ~/.ssh/config ?
--
bash completion no longer works for ssh known_hosts
https://bugs.launchpad.net/bugs/211180
You received this bug notification because you are a member of Ubuntu
Bugs, which is
Yes, I do have that option set, but it's not set for that particular
host.
Host proxies
UserKnownHostsFile /dev/null
StrictHostKeyChecking no
Host *
TCPKeepAlive no
ServerAliveCountMax 3
ServerAliveInterval 10
ControlMaster no
ControlPath
** Changed in: bash-completion (Ubuntu)
Status: In Progress = Fix Committed
--
bash completion no longer works for ssh known_hosts
https://bugs.launchpad.net/bugs/211180
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
OK, that explains it then. bash_completion just greps the config for
UserKnownHostsFile and uses that exclusively if found.
In your case that's obviously wrong. So I'll change it to use the
standard files in addition to those found via UserKnownHostsFile.
That should fix it the problem.
**
Hm, I can not reproduce this.
Can you please provide the output of the following commands:
complete -p ssh
dpkg -s bash-completion | egrep Status\|Version
Thanks!
** Changed in: bash-completion (Ubuntu)
Assignee: (unassigned) = Mika Fischer (zoop)
Status: New = Incomplete
--
[EMAIL PROTECTED]:~$ complete -p ssh
complete -F _ssh ssh
[EMAIL PROTECTED]:~$ dpkg -s bash-completion | egrep Status\|Version
Status: install ok installed
Version: 20060301-3ubuntu1
--
bash completion no longer works for ssh known_hosts
https://bugs.launchpad.net/bugs/211180
You received this