tailscale/ssh/tailssh
Maisem Ali 575aacb1e2 ssh/tailssh: terminate sessions on stdout copy failures
Currently, killing a SCP copy with a Ctrl+C leaves the session hanging
even though the stdout copy goroutine fails with an io.EOF. Taking a
step back, when we are unable to send any more data back to the client
we should just terminate the session as the client will stop getting any
response from the server anyways.

Updates #3802

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2022-05-28 21:30:54 +05:00
..
context.go all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
ctxreader.go ssh/tailssh: handle Control-C during hold-and-delegate prompt 2022-05-05 11:47:08 -07:00
incubator.go ssh/tailssh: only use `login` with TTY sessions 2022-05-28 21:03:40 +05:00
incubator_linux.go ssh/tailssh: refactor incubator flags 2022-05-09 19:17:52 -07:00
tailssh.go ssh/tailssh: terminate sessions on stdout copy failures 2022-05-28 21:30:54 +05:00
tailssh_test.go ssh/tailssh: avoid user ssh configuration in tests 2022-04-21 19:17:34 -07:00