Connection hang, can't stop SSH

Philipp Marek philipp at marek.priv.at
Thu Oct 15 18:58:36 AEDT 2020


Hi Damien,

thanks for the quick answer!

>> Is it easy to get EscapeChar working all of the time?
> 
> no, not easy unfortunately. While key exchange is in progress, the 
> input
> channels are not polled. Fixing this would involve some fiddly plumbing
> as the IO handling is fairly intimately tied to the channel state
> machine, and the channel state machine drives all sorts of events that
> will try to send packets to the server, and we cannot emit packets 
> while
> in rekeying.
> 
> Attached is a stab at it, completely untested :)

Hey, great! Any chance to get that upstream as well?


Thanks!

Ph.



More information about the openssh-unix-dev mailing list