tailscale/ssh/tailssh
Irbe Krumina a21bf100f3
cmd/k8s-operator,k8s-operator/sessionrecording,sessionrecording,ssh/tailssh: refactor session recording functionality (#12945)
cmd/k8s-operator,k8s-operator/sessionrecording,sessionrecording,ssh/tailssh: refactor session recording functionality

Refactor SSH session recording functionality (mostly the bits related to
Kubernetes API server proxy 'kubectl exec' session recording):

- move the session recording bits used by both Tailscale SSH
and the Kubernetes API server proxy into a shared sessionrecording package,
to avoid having the operator to import ssh/tailssh

- move the Kubernetes API server proxy session recording functionality
into a k8s-operator/sessionrecording package, add some abstractions
in preparation for adding support for a second streaming protocol (WebSockets)

Updates tailscale/corp#19821

Signed-off-by: Irbe Krumina <irbe@tailscale.com>
2024-07-29 13:57:11 +01:00
..
testcontainers ssh/tailssh: replace incubator process with su instead of running su as child 2024-06-20 10:11:03 -05:00
incubator.go ssh/tailssh: replace incubator process with su instead of running su as child 2024-06-20 10:11:03 -05:00
incubator_linux.go ssh/tailssh: fall back to using su when no TTY available on Linux 2024-05-29 13:15:17 -05:00
privs_test.go ssh/tailssh: fall back to using su when no TTY available on Linux 2024-05-29 13:15:17 -05:00
tailssh.go cmd/k8s-operator,k8s-operator/sessionrecording,sessionrecording,ssh/tailssh: refactor session recording functionality (#12945) 2024-07-29 13:57:11 +01:00
tailssh_integration_test.go ssh/tailssh: fix integration test (#12562) 2024-06-20 19:30:19 +01:00
tailssh_test.go cmd/k8s-operator,k8s-operator/sessionrecording,sessionrecording,ssh/tailssh: refactor session recording functionality (#12945) 2024-07-29 13:57:11 +01:00
user.go ssh/tailssh: try fetching group IDs for user with the 'id' command 2024-04-23 08:54:17 -05:00