mcheale-parkit
mcheale-parkit
I'm not convinced this is a node 18 issue but the change in behaviour around unexpected ends. I believe an unexpected end during connect no longer throws so `reject` is...
That's all one bug, in that it's using the underlying connection, agreed, I was pulling it out of someone else's implementation as a simplified test case. Even with that change...
This is definitely a thing but you need to use an `SSH` server that hangsup on auth failure. I've copied your example, enabled debugging, and put in the credentials where...
Taking a fresh look this morning the server is sending a valid ssh `DISCONNECT` message with a reason code of `11` (by application). The underlying `ssh2` library does not consider...
From my understanding the error event handler will always be executed before the end event handler. This is the `DISCONNECT` handler in the `ssh2` library: https://github.com/mscdex/ssh2/blob/7410a11c282fd0f21e8e989906c699c84ca711ed/lib/client.js#L335 I think there's four...