mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-23 00:20:45 +00:00
Mosh connects through an ephemeral SSH handshake PTY before swapping to mosh-client. Marking connected and firing startup commands too early sent snippet/script input into that handshake PTY, so run-on-connect scripts and host startup commands never reached the real shell (#2199). Tag handshake output with moshHandshake meta, emit mosh ready after the client swap, and defer connected status + scheduleStartupCommand until then.