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>
2022-06-28 15:35:51 -07:00
..
context.go all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
ctxreader.go ssh/tailssh: handle Control-C during hold-and-delegate prompt 2022-05-05 11:47:08 -07:00
incubator_darwin.go ssh/tailssh: limit setgroups to 16 on macOS 2022-06-25 22:17:53 -07:00
incubator_linux.go ssh/tailssh: fix Tailscale SSH to Linux Arch machines 2022-06-28 15:35:51 -07:00
incubator.go ssh/tailssh: limit setgroups to 16 on macOS 2022-06-25 22:17:53 -07:00
tailssh_test.go ssh/tailssh: always use current time for policy evaluation 2022-06-27 12:25:04 -07:00
tailssh.go ssh/tailssh: fix logging typo 2022-06-27 13:23:09 -07:00