You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
3 years ago
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 3 years ago
cloner cmd/viewer: add codegen tool for Views 3 years ago
derper cmd/derper: add --stun-port flag 3 years ago
derpprobe all: use any instead of interface{} 3 years ago
hello all: use strings.Cut even more 3 years ago
mkpkg cmd/mkpkg: use package flag (#4373) 3 years ago
nginx-auth cmd/nginx-auth: maintainer scripts and tailnet checking (#4460) 3 years ago
printdep cmd/printdep: add flag to print out Go toolchain tarball URL 3 years ago
proxy-to-grafana client/tailscale: move/copy all package funcs to new LocalClient type 3 years ago
speedtest cmd: upgrade to ffcli v3 3 years ago
tailscale cmd/tailscale/cli: add lose-ssh risk 3 years ago
tailscaled build_docker.sh: pin github.com/tailscale/mkctr 3 years ago
testcontrol all: use any instead of interface{} 3 years ago
tsshd cmd/tsshd: delete, leaving only forwarding docs 3 years ago
viewer cmd/viewer,types/views: add support for views of maps 3 years ago