bash tab completion does not know about whitespace in host name

Bug #64990 reported by Stuart Bishop
This bug report is a duplicate of:  Bug #194860: Hardy regressions [bash-completion]. Edit Remove
6
Affects Status Importance Assigned to Milestone
bash-completion (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: openssh-client

In my .ssh/config file, I have a number of entries like the following:

Host sodium sodium.ubuntu.com devpad devpad.canonical.com
    HostName devpad.canonical.com
    [...]

From a bash prompt, if I enter 'scp sod' and hit <tab>, I get the following result:

$ scp sodium sodium.ubuntu.com devpad devpad.canonical.com:

The bash tab completion needs to be made aware that the Host lines in the config file can contain multiple hostnames and aliases.

Revision history for this message
Maftoul Samuel (samuel-maftoul) wrote :

I confirm this behaviour on up to date edgy.
ssh completes correctly but scp doesn't

Changed in openssh:
status: Unconfirmed → Confirmed
Changed in bash:
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.