Bug 29597

Summary: Bash tab completion for scp not working
Product: Mageia Reporter: Konrad Bernlöhr <Konrad.Bernloehr>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: NEW --- QA Contact:
Severity: minor    
Priority: Normal    
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: bash-completion-2.11-1.mga8.src.rpm CVE:
Status comment:

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