Files
tailscale/ssh/tailssh
James Tucker 5919a9d1e9 ssh/tailssh: register connections atomically with shutdown
Check shutdown and register initialized connections under the same lock. Reject a connection if shutdown ran during its construction, stopping its login-grace timer and closing the transport. Also close the transport when connection construction fails.

Cover shutdown before and during connection construction without starting an SSH handshake.

Updates tailscale/corp#50380

Change-Id: I634036a7e073b24d7ff80d6a6d0ae991c40f3c69
Signed-off-by: James Tucker <[email protected]>
(cherry picked from commit 617c38d523)
2026-10-27 20:14:22 +00:00
..
2026-04-10 10:48:50 -07:00