scp bash completion fails when remote computer uses busybox

Bug #1381049 reported by JonHurst on 2014-10-14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bash-completion (Ubuntu)

Bug Description

Running 12.04 at the moment, but latest version appears to be affected as well.

The issue is that the ssh call to get the directory listings for completion for scp use the bash "command" builtin and busybox does not have this available and therefore fails.

Removing the "command" allows busybox ls to be called and everything works as expected (see attached patch).

The patch also replaces the $nospace variable in the call to complete with -o nospace, but this does seem to have been fixed in the latest version.

JonHurst (jon-a-hursts) wrote :

The attachment "ssh.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers