>From my lab, I login into my home Ubuntu system in order to copy files
with scp to my lab computer.  For this, I use PuTTY on Windows to
connect to my home machine.  I see the Bash prompt.

Then I visit the folder with the files. My lab computer is called "bob".
The full URL path I want to copy to is "bob:/windows/".  So I enter "scp
myfile.dat bob:/win" and press TAB.

After this, I see "scp myfile.dat /windows/".  But I expect to see "scp
myfile.dat bob:/windows/".  So you see, the hostname was erroneously
removed by tab completion.  But you also see that Bash has successfully
connected bob and has seen that there is the root folder "windows/".

As a workaround, I call "bash" immediately after having logged-in.  So I
call bash in bash.  The child bash doesn't exhibit this behaviour for
some reason.

-- 
tab-completion of scp removes hostname
https://bugs.launchpad.net/bugs/336670
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to