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 af412e8874 ssh/tailssh: better handling of signals and exits
We were not handling errors occurred while copying data between the subprocess and the connection.
This makes it so that we pass the appropriate signals when to the process and the connection.

This also fixes mosh.

Updates #4919

Co-authored-by: James Tucker <raggi@tailscale.com>
Co-authored-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Signed-off-by: Maisem Ali <maisem@tailscale.com>
2 years ago
..
context.go all: use any instead of interface{} 2 years ago
ctxreader.go ssh/tailssh: handle Control-C during hold-and-delegate prompt 2 years ago
incubator.go ssh/tailssh: better handling of signals and exits 2 years ago
incubator_darwin.go ssh/tailssh: limit setgroups to 16 on macOS 2 years ago
incubator_linux.go ssh/tailssh: fix Tailscale SSH to Linux Arch machines 2 years ago
tailssh.go ssh/tailssh: better handling of signals and exits 2 years ago
tailssh_test.go ssh/tailssh: always use current time for policy evaluation 2 years ago