https://bugzilla.mindrot.org/show_bug.cgi?id=2814
Bug ID: 2814
Summary: Connection error should report failure instead of
success
Product: Portable OpenSSH
Version: 7.6p1
Hardware: All
OS: Linux
Status: NEW
Severity: minor
Priority: P5
Component: ssh
Assignee: [email protected]
Reporter: [email protected]
Created attachment 3106
--> https://bugzilla.mindrot.org/attachment.cgi?id=3106&action=edit
Suggested diff
When the connection fails, the error handling reports success if no
errno
was provided, as this defaults to 0 (Success). As this can never be the
case when an error occurs, instead the output should show a failure.
Forced example:
ssh -6 -b 10.0.0.3 vyatta@2000::4
getaddrinfo: 10.0.0.3: Address family for hostname not supported
ssh: connect to host 2000::4 port 22: Success
--
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