[Bash-completion-devel] Bug#650514: bash-completion: ssh host completion cannot deal with multiple files in UserKnownHostsFile

Paul Wise pabs at debian.org
Wed Nov 30 13:13:23 UTC 2011


Package: bash-completion
Version: 1:1.3-1
Severity: normal

The bash_completion script cannot deal with a line like this in ~/.ssh/config:

 UserKnownHostsFile ~/.ssh/hosts/generic ~/.ssh/hosts/debian ~/.ssh/hosts/work

Instead I have to do this to get what I want in ssh and ssh completion:

 UserKnownHostsFile ~/.ssh/hosts/generic
 UserKnownHostsFile ~/.ssh/hosts/debian
 UserKnownHostsFile ~/.ssh/hosts/work
 UserKnownHostsFile ~/.ssh/hosts/generic ~/.ssh/hosts/debian ~/.ssh/hosts/work

The first three are for bash_completion and the last for ssh.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash-completion depends on:
ii  bash  4.1-3

-- 
bye,
pabs

http://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20111130/49cbd1b8/attachment.pgp>


More information about the Bash-completion-devel mailing list