tailscale/cmd
Maisem Ali 67325d334e cmd/tailscale/cli: add lose-ssh risk
This makes it so that the user is notified that the action
they are about to take may result in them getting disconnected from
the machine. It then waits for 5s for the user to maybe Ctrl+C out of
it.

It also introduces a `--accept-risk=lose-ssh` flag for automation, which
allows the caller to pre-acknowledge the risk.

The two actions that cause this are:
- updating `--ssh` from `true` to `false`
- running `tailscale down`

Updates #3802

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2022-06-02 13:14:43 +05:00
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 2021-07-19 15:31:56 -07:00
cloner cmd/viewer: add codegen tool for Views 2022-05-06 10:58:10 -07:00
derper cmd/derper: add --stun-port flag 2022-03-08 07:19:33 -08:00
derpprobe all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
hello all: use strings.Cut even more 2022-03-19 13:02:38 -07:00
mkpkg cmd/mkpkg: use package flag (#4373) 2022-04-07 16:38:33 -04:00
nginx-auth cmd/nginx-auth: maintainer scripts and tailnet checking (#4460) 2022-04-20 13:06:05 -04:00
printdep cmd/printdep: add flag to print out Go toolchain tarball URL 2022-01-06 08:44:17 -08:00
proxy-to-grafana client/tailscale: move/copy all package funcs to new LocalClient type 2022-04-29 13:57:52 -07:00
speedtest cmd: upgrade to ffcli v3 2021-09-14 13:21:55 -07:00
tailscale cmd/tailscale/cli: add lose-ssh risk 2022-06-02 13:14:43 +05:00
tailscaled build_docker.sh: pin github.com/tailscale/mkctr 2022-06-01 19:55:06 +05:00
testcontrol all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
tsshd cmd/tsshd: delete, leaving only forwarding docs 2022-05-16 11:52:44 -07:00
viewer cmd/viewer,types/views: add support for views of maps 2022-05-09 19:49:31 -07:00