[Bash-completion-devel] Bug#696430: bash-completion: Fails to complete remote files over ssh.
Max Tsepkov
max at garygolden.me
Thu Dec 20 17:34:59 UTC 2012
Package: bash-completion
Version: 1:2.0-1
Severity: important
When user tries to complete a remote path like:
$ scp example.com:/tm
nothing happens. I.e. shell does not complete the path.
It happens because completion issues this command:
ssh -o 'Batchmode yes' example.com command ls -aF1dL '/tm*'
to retreive available paths.
Put it into shell and ssh will fail:
$ ssh -o 'Batchmode yes' example.com command ls -aF1dL '/tm*'
command-line line 0: Missing yes/no argument.
However, equality sign works:
$ ssh -o 'Batchmode=yes' www.wlmarketing.com command ls -aF1dL '/tm*'
/tmp/
OpenSSH version 6.0
Tested on 5.5 with same result.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'testing-updates'), (500, 'stable-updates'), (500, 'stable'), (10, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bash-completion depends on:
ii bash 4.2-4
ii dpkg 1.16.9
bash-completion recommends no packages.
bash-completion suggests no packages.
-- no debconf information
More information about the Bash-completion-devel
mailing list