[Bash-completion-devel] Bug#848975: bash-completion: Fails to auto-complete /etc/hosts hostnames after ~/.ssh/config file created

Miel Donkers miel.donkers at codecentric.nl
Wed Dec 21 12:02:09 UTC 2016


Package: bash-completion
Version: 1:2.1-4.3
Severity: normal

Dear Maintainer,

Initially, auto-completion of hosts was working as expected, auto-completing hosts defined in /etc/hosts.
After adding a ~/.ssh/config file, auto-completion of hosts defined in /etc/hosts no longer works. When moving
the config file out of the way, auto-completion works normally again. Auto-completion of hosts defined in
~/.ssh/config _does_ work, but only those defined there.

As my /etc/hosts file is quite extensive, and I only need the ssh config file for one small setting, I don't
want to include all hosts in the ssh config file. I would expect to auto-complete hostnames from /etc/hosts 
even when a ~/.ssh/config file is present.

BR,
Miel

-- System Information:
Debian Release: stretch/sid
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bash-completion depends on:
ii  bash  4.4-2
ii  dpkg  1.18.15

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information



More information about the Bash-completion-devel mailing list