generated from ali/HarmonyTemplate
- Auth.ts: SERVICE_REQUEST handshake, none probe, publickey query + signed request (sig over string(session_id) || payload-without-signature; Ed25519 raw / ECDSA DER->mpint r||s / RSA PKCS1 SHA256/512), password fallback; skip-list wait loop (DISCONNECT/IGNORE/UNIMPLEMENTED/DEBUG/ EXT_INFO/BANNER); msg60 dual meaning handled per phase - Channel.ts: open/confirm, pty-req/shell/exec/window-change, chunked flow-controlled write, WINDOW_ADJUST at half local window, stderr via EXTENDED_DATA, exit-status, EOF/CLOSE lifecycle, per-channel promise slots (never overlaps transport.waitPacket) - KeepAlive.ts: keepalive@openssh.com global request every 15s, dead after 3 unanswered probes - SshSession.ts: state machine (IDLE..CLOSED), KEX with TOFU host key verify, post-auth dispatcher routes keepalive replies + channel packets, server channels/global requests refused, execCommand collects stdout/stderr/exitStatus - Transport.ts: fix stale waitPacket timer rejecting a fresh waiter (clear timer on resolve/reject/re-arm) - latent since T3, amplified by the T6 auth loop - DiagPage: username/password inputs + button 10 (connect -> auth -> exec 'echo haven-ok && uname -a')