[Bug 2771] New: scp has an exit status of 0 when the username is invalid
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Tue Aug 29 17:08:40 AEST 2017
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: unassigned-bugs at mindrot.org
Reporter: ofer456123 at mail.com
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 user at host.com:file.txt"
invalid user: invalid user name
>echo $?
0
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list