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@localhost's password:
this_file_does_not_exist: No such file or directory
>
This is with feisty (openssh-client version 4.3p2-8ubuntu1).
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 does_not_ exist: No such file or directory
user@localhost's password:
this_file_
>
This is with feisty (openssh-client version 4.3p2-8ubuntu1).
Thanks for reading!