tailscale/ssh/tailssh
Maisem Ali 91a187bf87 ssh/tailssh: make checkStillValid also consider username changes
Currently if the policy changes and the session is logged in with local
user "u1" and the new policy says they can only login with "u2" now, the
user doesn't get kicked out because they had requested
`rando@<ssh-host>` and the defaulting had made that go to `u1`.

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2022-04-18 16:34:06 -07:00
..
context.go all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
incubator_linux.go all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
incubator.go tailcfg, ssh/tailssh: optionally support SSH public keys in wire policy 2022-04-15 13:36:57 -07:00
tailssh_test.go ssh/tailssh: cache public keys fetched from URLs 2022-04-18 07:46:38 -07:00
tailssh.go ssh/tailssh: make checkStillValid also consider username changes 2022-04-18 16:34:06 -07:00