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
Brad Fitzpatrick 3b1f99ded1 ssh/tailssh: fix Tailscale SSH to Linux Arch machines
See https://github.com/tailscale/tailscale/issues/4924#issuecomment-1168201823

Arch uses a different login binary that makes the -h flag set the PAM
service to "remote". So if they don't have that configured, don't pass -h.

Thanks to @eddiezane for debugging!

Updates #4924

Change-Id: I8d33e0afb2dfb99517bcea2f9d5d0c6247519b3c
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 years ago
..
context.go all: use any instead of interface{} 2 years ago
ctxreader.go ssh/tailssh: handle Control-C during hold-and-delegate prompt 2 years ago
incubator.go ssh/tailssh: limit setgroups to 16 on macOS 2 years ago
incubator_darwin.go ssh/tailssh: limit setgroups to 16 on macOS 2 years ago
incubator_linux.go ssh/tailssh: fix Tailscale SSH to Linux Arch machines 2 years ago
tailssh.go ssh/tailssh: fix logging typo 2 years ago
tailssh_test.go ssh/tailssh: always use current time for policy evaluation 2 years ago