You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
context.go all: use any instead of interface{} 4 years ago
ctxreader.go ssh/tailssh: handle Control-C during hold-and-delegate prompt 4 years ago
incubator.go ssh/tailssh: only use `login` with TTY sessions 4 years ago
incubator_linux.go ssh/tailssh: refactor incubator flags 4 years ago
tailssh.go ssh/tailssh: terminate sessions on stdout copy failures 4 years ago
tailssh_test.go ssh/tailssh: avoid user ssh configuration in tests 4 years ago