Bug 2761 - When using the -3 option a "No such file or directory" error is not displayed
Summary: When using the -3 option a "No such file or directory" error is not displayed
Status: RESOLVED DUPLICATE of bug 2338
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: scp (show other bugs)
Version: 7.4p1
Hardware: 68k Mac OS X
: P5 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-17 05:51 EST by Jay Wren
Modified: 2017-08-17 17:33 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jay Wren 2017-08-17 05:51:10 EST
When using the -3 option a "No such file or directory" error is not displayed as it is when using the same source and target without the -3 option.

I expect to see an error message if the source does not exist.

e.g.

$ scp delays:DNE delays:/tmp/
DNE: No such file or directory

$ scp -3 delays:DNE delays:/tmp/
$

With the -3 option, I get no indication that there was a failure other than exit value being nonzero.
Comment 1 Jakub Jelen 2017-08-17 17:33:10 EST
This is already filled as the bug #2338, even with the attached patch that I wrote years ago. It also describes why it is currently so.

*** This bug has been marked as a duplicate of bug 2338 ***