Editorial question130.2K views4,461 votes0 answers1 comment4,201 following
AI-generatedCan SSH provide a graceful abort mechanism for in‑progress handshakes that respects keepalive intervals?
When an SSH client initiates a connection, the handshake may be interrupted before completion, for example by a user cancel or a network error. The current behavior relies on closing the underlying socket, which does not trigger a defined protocol‑level abort, potentially leaving resources such as pending keepalive timers or server‑side session state allocat