Bug 2761

Summary: When using the -3 option a "No such file or directory" error is not displayed
Product: Portable OpenSSH Reporter: Jay Wren <jrwren>
Component: scpAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED DUPLICATE    
Severity: enhancement CC: jjelen
Priority: P5    
Version: 7.4p1   
Hardware: 68k   
OS: Mac OS X   

Description Jay Wren 2017-08-17 05:51:10 AEST
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 AEST
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 ***
Comment 2 Damien Miller 2021-04-23 14:58:48 AEST
closing resolved bugs as of 8.6p1 release