[Bug 139674] Re: bash completion doesn't perform filename processing for ssh -i

Ubuntu Foundation's Bug Bot 139674 at bugs.launchpad.net
Sat Dec 3 08:13:20 UTC 2011


The attachment "patch to ssh bash completion" of this bug report has
been identified as being a patch.  The ubuntu-reviewers team has been
subscribed to the bug report so that they can review the patch.  In the
event that this is in fact not a patch you can resolve this situation by
removing the tag 'patch' from the bug report and editing the attachment
so that it is not flagged as a patch.  Additionally, if you are member
of the ubuntu-sponsors please also unsubscribe the team from this bug
report.

[This is an automated message performed by a Launchpad user owned by
Brian Murray.  Please contact him regarding any issues with the action
taken in this bug report.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/139674

Title:
  bash completion doesn't perform filename processing for ssh -i

Status in “bash-completion” package in Ubuntu:
  Triaged
Status in “bash-completion” package in Debian:
  Confirmed

Bug description:
  Binary package hint: bash

  In /etc/bash_completion, the completion for the "ssh" command doesn't use the
  "-o filenames" option.  As a result, filename processing isn't performed on the
  completed results.  (In particular, this includes adding a trailing slash to
  directory names.)

  This is nice for most cases, but ssh's "-i" option does take a filename
  argument.  The lack of filename processing can be rather annoying when trying
  to specify a key in a deep path.

  
  Unfortunately, I'm not sure if bash provides an easy way to enable the
  "-o filenames" behavior only for certain arguments.  I think it may only be
  possible to set it on a per-command basis.  Therefore the only way to fix this
  may be to manually perform this processing in the _filedir() function in
  /etc/bash_completion (or perhaps just in the _ssh() function).

  Either way, this is a very low priority bug.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/139674/+subscriptions




More information about the foundations-bugs mailing list