cer...@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
cer...@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
cer...@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
- u...@localhost's password: 
+ u...@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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to