[Bug 160631] Re: scp does not validate existance of file before connecting to remote host

C de-Avillez 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
openssh-client:
  Installed: 1:5.5p1-4ubuntu4
  Candidate: 1:5.5p1-4ubuntu4
  Version table:
 *** 1:5.5p1-4ubuntu4 0
        500 http://archive.ubuntu.com/ubuntu/ maverick/main amd64 Packages
        100 /var/lib/dpkg/status
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
https://bugs.launchpad.net/bugs/160631
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 mailing list