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>
2022-07-15 09:06:01 -07: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_darwin.go ssh/tailssh: limit setgroups to 16 on macOS 2022-06-25 22:17:53 -07:00
incubator_linux.go ssh/tailssh: fix Tailscale SSH to Linux Arch machines 2022-06-28 15:35:51 -07:00
incubator.go ssh/tailssh: better handling of signals and exits 2022-07-15 09:06:01 -07:00
tailssh_test.go ssh/tailssh: always use current time for policy evaluation 2022-06-27 12:25:04 -07:00
tailssh.go ssh/tailssh: better handling of signals and exits 2022-07-15 09:06:01 -07:00