Bump the gliderlabs/ssh fork to coder/ssh#8, which runs one keep-alive per
connection and closes the whole connection when the client stops answering,
instead of only the session channel. Connections whose session had ended, or
that only carried port forwards, were never probed and could stay Ongoing in
the connection log indefinitely.
- Keep probing every third of CODER_AGENT_SSH_MAX_TIMEOUT (24h by default)
- Report connections that end with a read error, such as the tailnet TCP
retry limit after a client vanishes, or that the keep-alive closes, as
network_error with the read error as disconnect_detail
- Keep reporting a clean client close as client_closed
- Wrap the agent's connection to record its first read error while still
forwarding the client session ID
- Document when a vanished client's connection closes and the tradeoff of
lowering the timeout
Closes CLIENT-1113