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
M. J. Fromberger 67514f5eb2
ssh/tailssh: fix path of "true" on Darwin (#16569)
This is a follow-up to #15351, which fixed the test for Linux but not for
Darwin, which stores its "true" executable in /usr/bin instead of /bin.
Try both paths when not running on Windows.

In addition, disable CGo in the integration test build, which was causing the
linker to fail. These tests do not need CGo, and it appears we had some version
skew with the base image on the runners.

In addition, in error cases the recover step of the permissions check was
spuriously panicking and masking the "real" failure reason. Don't do that check
when a command was not produced.

Updates #15350

Change-Id: Icd91517f45c90f7554310ebf1c888cdfd109f43a
Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
5 months ago
..
testcontainers ssh/tailssh: accept passwords and public keys 10 months ago
accept_env.go ssh: Add logic to set accepted environment variables in SSH session (#13559) 1 year ago
accept_env_test.go ssh: Add logic to set accepted environment variables in SSH session (#13559) 1 year ago
incubator.go ssh/tailssh: fix path of "true" on Darwin (#16569) 5 months ago
incubator_linux.go ssh/tailssh: exclude Android from Linux build tags 6 months ago
incubator_plan9.go ssh/tailssh: add Plan 9 support for Tailscale SSH 8 months ago
privs_test.go ssh/tailssh: only chdir incubator process to user's homedir when necessary and possible 1 year ago
tailssh.go ssh/tailssh: display more useful error messages when authentication fails 6 months ago
tailssh_integration_test.go ssh/tailssh: accept passwords and public keys 10 months ago
tailssh_test.go ssh/tailssh: display more useful error messages when authentication fails 6 months ago
user.go ssh/tailssh: exclude Android from Linux build tags 6 months ago