Connection hang, can't stop SSH

Damien Miller djm at mindrot.org
Thu Oct 15 19:53:38 AEDT 2020


On Thu, 15 Oct 2020, Philipp Marek wrote:

> 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?

It will need some testing first :/

-d


More information about the openssh-unix-dev mailing list