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 c90c9938c8
ssh/tailssh: add logic for matching against AcceptEnv patterns (#13466)
Add logic for parsing and matching against our planned format for
AcceptEnv values. Namely, this supports direct matches against string
values and matching where * and ? are treated as wildcard characters
which match against an arbitrary number of characters and a single
character respectively.

Actually using this logic in non-test code will come in subsequent
changes.

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

Signed-off-by: Mario Minardi <mario@tailscale.com>
4 weeks ago
..
testcontainers ssh/tailssh: only chdir incubator process to user's homedir when necessary and possible 2 months ago
accept_env.go ssh/tailssh: add logic for matching against AcceptEnv patterns (#13466) 4 weeks ago
accept_env_test.go ssh/tailssh: add logic for matching against AcceptEnv patterns (#13466) 4 weeks ago
incubator.go ssh/tailssh: add ability to force V2 behavior using new feature flag 2 months 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 util/slicesx: add FirstElementEqual and LastElementEqual 1 month ago
tailssh_integration_test.go ssh/tailssh: only chdir incubator process to user's homedir when necessary and possible 2 months ago
tailssh_test.go util/usermetrics: make usermetrics non-global 4 weeks ago
user.go ssh/tailssh: try fetching group IDs for user with the 'id' command 6 months ago