tailscale/ssh/tailssh
Ox Cart 719ee4415e ssh/tailssh: use control server time instead of local time
This takes advantage of existing functionality in ipn/ipnlocal to adjust
the local clock based on periodic time signals from the control server.
This way, when checking things like SSHRule expirations, calculations are
protected incorrectly set local clocks.

Fixes tailscale/corp#15796

Signed-off-by: Percy Wegmann <percy@tailscale.com>
2023-11-17 11:10:11 -06:00
..
incubator.go ssh/tailssh: add envknobs to force override forwarding, sftp, pty 2023-11-09 13:37:54 -08:00
incubator_linux.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
privs_test.go all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 2023-08-17 08:42:35 -07:00
tailssh.go ssh/tailssh: use control server time instead of local time 2023-11-17 11:10:11 -06:00
tailssh_test.go all: replace deprecated ioutil references 2023-08-23 23:53:19 +01:00
user.go ssh/tailssh,util: extract new osuser package from ssh code (#10170) 2023-11-09 09:49:06 -08:00