[Bug 160631] Re: scp does not validate existance of file before connecting to remote host
hggdh2 at ubuntu.com
Sun Sep 19 00:36:55 BST 2010
cerdea at xango2:/build/buildd/uec/uec-testing-scripts$ scp doesNotExist cempedak.canonical.com:.
Warning: Permanently added 'cempedak.canonical.com' (RSA) to the list of known hosts.
doesNotExist: No such file or directory
cerdea at xango2:/build/buildd/uec/uec-testing-scripts$ apt-cache policy openssh-client
*** 1:5.5p1-4ubuntu4 0
500 http://archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages
cerdea at xango2:/build/buildd/uec/uec-testing-scripts$
** Changed in: openssh (Ubuntu)
Status: Incomplete => Triaged
** Description changed:
Binary package hint: openssh-client
This is a minor issue, but if you attempt to copy a non-existent file to
an existing host, scp fails to detect this basic issue until *after* you
have been prompted for the remote systems password.
Steps to recreate:
1. scp this_file_does_not_exist localhost:/tmp
2. enter your password for localhost
3. observe the error:
> scp this_file_does_not_exist localhost:/tmp
- user at localhost's password:
+ user at localhost's password:
this_file_does_not_exist: No such file or directory
This is with feisty (openssh-client version 4.3p2-8ubuntu1).
Thanks for reading!
+ LAST VERSION TESTED: openssh-client 1:5.5p1-4ubuntu4 (Maverick)
scp does not validate existance of file before connecting to remote host
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in ubuntu.
More information about the Ubuntu-server-bugs