Bugzilla – Bug 1219795
scp bash-completion remote paths with spaces problem
Last modified: 2024-02-12 09:14:18 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/