You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When no host listening, the current version prints:
ssh: connect to host xxxxx port 22: Unknown error
It has the correct error no (107, which is ECONNREFUSED), but unable to get a valid string message for that posix error using strerror(), hence the 'Unknon error' message. Looks like the strerror() api is handling Posix errors upto number 43 correctly, beyond that printing 'Unkown error'
When there's no host listening, you get this for your error message:
ssh: connect to host {whatever} port 22: The operation completed successfully.
Should be:
ssh: connect to host {whatever} port 22: Connection refused
The text was updated successfully, but these errors were encountered: