Bug 1219795 - scp bash-completion remote paths with spaces problem
Summary: scp bash-completion remote paths with spaces problem
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Hans Petter Jansson
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-10 14:49 UTC by John Veness
Modified: 2024-02-12 09:14 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Veness 2024-02-10 14:49:39 UTC
I am using Tumbleweed on my client and Leap 15.5 on my server. I have setup passwordless ssh login (i.e. using an entry in .ssh/authorized keys on the server) between my client and my server.

I have the following folder on my server: "Example Folder" (without quotes), and a file called "filename.txt" (without quotes) on my client.

On my client, I type:

   scp filename.txt username@serveraddress:Exa<TAB>

(where <TAB> means I press the TAB key on the keyboard).

Expected result:

   scp filename.txt username@serveraddress:Example\ Folder/

Observed result:

   scp filename.txt username@serveraddress:Example\\\ Folder/

If I press return with the incorrect/observed output, I get an error:

   scp: dest open "Example\\ Folder/": Failure
   scp: failed to upload file filename.txt to Example\\ Folder/