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
Mario Minardi 8f44ba1cd6
ssh: Add logic to set accepted environment variables in SSH session (#13559)
Add logic to set environment variables that match the SSH rule's
`acceptEnv` settings in the SSH session's environment.

Updates https://github.com/tailscale/corp/issues/22775

Signed-off-by: Mario Minardi <mario@tailscale.com>
3 weeks ago
..
testcontainers ssh/tailssh: only chdir incubator process to user's homedir when necessary and possible 2 months ago
accept_env.go ssh: Add logic to set accepted environment variables in SSH session (#13559) 3 weeks ago
accept_env_test.go ssh: Add logic to set accepted environment variables in SSH session (#13559) 3 weeks ago
incubator.go ssh: Add logic to set accepted environment variables in SSH session (#13559) 3 weeks ago
incubator_linux.go ssh/tailssh: fall back to using su when no TTY available on Linux 5 months ago
privs_test.go ssh/tailssh: only chdir incubator process to user's homedir when necessary and possible 2 months ago
tailssh.go ssh: Add logic to set accepted environment variables in SSH session (#13559) 3 weeks ago
tailssh_integration_test.go ssh: Add logic to set accepted environment variables in SSH session (#13559) 3 weeks ago
tailssh_test.go ssh: Add logic to set accepted environment variables in SSH session (#13559) 3 weeks ago
user.go ssh/tailssh: try fetching group IDs for user with the 'id' command 6 months ago