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
{{ message }}
This repository was archived by the owner on Dec 7, 2023. It is now read-only.
#469 introduced some quick error handling for the ssh.Dial result.
These conditionals work fine since this should almost always return an expected error, but some of the branches are incorrect.
The final return case is actually a success of the SSH connection. (This is unexpected, and should probably warn the user that an insecure password succeeded)
There may be a better way to auth this connection.
For instance, we could actually use the proper certs since we're going so far as to validate that the server is operating at a protocol level.