kitty/kittens/ssh
Kovid Goyal 4cb9765743
ssh kitten: Reconnect when a shared connection has silently died
When the connection of an existing ControlMaster to the server dies
without the master noticing, for example after a network change or
suspend, new sessions using it hang. ssh -O check does not detect this
as it only talks to the master over its local socket.

Check the master in parallel with starting the session, using a request
that requires a round trip to the server, so that there is no added
latency when the master is healthy. If the master does not respond in
time, kill the stuck session, stop the master and start the session
again over a new connection. Similarly time out the port forward request
used by forward_remote_control and retry it with a new master.

Fixes #10691
2026-10-19 07:20:03 +05:30
..
__init__.py
askpass.go Fix #10517 2026-09-23 10:44:08 +05:30
config.go
config_test.go
main.go ssh kitten: Reconnect when a shared connection has silently died 2026-10-19 07:20:03 +05:30
main.py autoformat 2026-08-05 05:32:56 +05:30
main_test.go Fix #10517 2026-09-23 10:44:08 +05:30
utils.go Reset SSH extra option state after its value 2026-09-26 22:00:26 +05:00
utils.py ssh kitten: Verify owner and permissions of SHM memory used for askpass 2026-09-01 20:14:03 +05:30
utils_test.go Reset SSH extra option state after its value 2026-09-26 22:00:26 +05:00