From 03e3e6abcd39239eca710144e329d5e8ef935a2d Mon Sep 17 00:00:00 2001 From: Maisem Ali Date: Sat, 4 Jun 2022 01:19:07 +0500 Subject: [PATCH] cmd/tailscale/cli: disallow --ssh on Synology Updates tailscale/corp#5468 Updates #3802 Signed-off-by: Maisem Ali --- cmd/tailscale/cli/up.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/tailscale/cli/up.go b/cmd/tailscale/cli/up.go index 8f9f93516..8833b0a5f 100644 --- a/cmd/tailscale/cli/up.go +++ b/cmd/tailscale/cli/up.go @@ -440,7 +440,10 @@ func runUp(ctx context.Context, args []string) error { return errors.New("--exit-node is " + notSupported) } if upArgs.netfilterMode != "off" { - return errors.New("--netfilter-mode values besides \"off\" " + notSupported) + return errors.New("--netfilter-mode values besides \"off\" are " + notSupported) + } + if upArgs.runSSH { + return errors.New("--ssh is " + notSupported) } }