Bug 29597 - Bash tab completion for scp not working
Summary: Bash tab completion for scp not working
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal minor
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-27 15:47 CEST by Konrad Bernlöhr
Modified: 2021-10-28 20:50 CEST (History)
0 users

See Also:
Source RPM: bash-completion-2.11-1.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Konrad Bernlöhr 2021-10-27 15:47:49 CEST
Tab completion for remote files/directories with 'scp' used to work with Mageia 7 but no longer with Mageia 8. 

Example:
  scp user@host:/tm<TAB>
should complete to
  scp user@host:/tmp/
if password-less login to user@host is allowed.

Responsible file is

/usr/share/bash-completion/completions/ssh

Replacing that with either the version from Mageia 7 (as a work-around) or the current version from upstream at 

https://github.com/scop/bash-completion/commits/master/completions/ssh

as the proper solution fixes the problem.
Comment 1 Konrad Bernlöhr 2021-10-27 15:57:57 CEST
Actual location of upstream file:

https://raw.githubusercontent.com/scop/bash-completion/master/completions/ssh

but I think the previous link shows its history.
Comment 2 Lewis Smith 2021-10-28 20:50:56 CEST
Thank you for the precise report, and the very helpful links.

'bash-completion' has no consistent maintainer, so assigning this bug globally.

Assignee: bugsquad => pkg-bugs


Note You need to log in before you can comment on or make changes to this bug.