tailscale/ssh/tailssh
Brad Fitzpatrick 029508d8be 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>
(cherry picked from commit 3b1f99ded1)
2022-07-05 09:56: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-07-05 09:56:51 -07:00
incubator_linux.go ssh/tailssh: fix Tailscale SSH to Linux Arch machines 2022-07-05 09:56:51 -07:00
incubator.go ssh/tailssh: limit setgroups to 16 on macOS 2022-07-05 09:56:51 -07:00
tailssh_test.go ssh/tailssh: always use current time for policy evaluation 2022-07-05 09:56:51 -07:00
tailssh.go ssh/tailssh: fix logging typo 2022-07-05 09:56:51 -07:00