When using the OpenSSH client in ControlClient mode, escape sequences (such as ~. to kill the connection) are not functional.
Created attachment 1512 [details] Process escapes from multiplex slave sessions This hooks up the escape filter to multiplex slave sessions and makes the escape state per-session.
patch applied, this will be in openssh-5.2 (barring regressions)
*** Bug 1484 has been marked as a duplicate of this bug. ***
Mass update RESOLVED->CLOSED after release of openssh-5.1
Doesn't seem to be working for me in 5.5p1 on Linux. If I send ~. to a multiplex slave session, it just locks up and stops working. Other escape sequences seem to work though.
Created attachment 1854 [details] patch This "fixes" it, although I'm far from sure that it's the correct fix... it does serve to highlight the issue though. The client never exits because the control socket never gets closed from the master side.