https://bugzilla.mindrot.org/show_bug.cgi?id=2771
Bug ID: 2771
Summary: scp has an exit status of 0 when the username is
invalid
Product: Portable OpenSSH
Version: 7.5p1
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5
Component: scp
Assignee: [email protected]
Reporter: [email protected]
The scp program has an exit status of 0 when the username is invalid.
I get the following on both Linux and Cygwin (note the invalid space in
the username):
>scp file.txt "invalid [email protected]:file.txt"
invalid user: invalid user name
>echo $?
0
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs