From f85bb60eba36dff8a923eb4d2b8b968e13bc88ee Mon Sep 17 00:00:00 2001 From: Denton Gentry Date: Sat, 23 Jul 2022 18:38:42 -0700 Subject: [PATCH] ipn/ipnlocal: prevent attempting to run SSH on QNAP for now tailscaled runs as a non-root user, SSH is not immediately working. Signed-off-by: Denton Gentry --- ipn/ipnlocal/local.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ipn/ipnlocal/local.go b/ipn/ipnlocal/local.go index 008f121e4..84564efd0 100644 --- a/ipn/ipnlocal/local.go +++ b/ipn/ipnlocal/local.go @@ -1877,6 +1877,9 @@ func (b *LocalBackend) checkSSHPrefsLocked(p *ipn.Prefs) error { if distro.Get() == distro.Synology && !envknob.UseWIPCode() { return errors.New("The Tailscale SSH server does not run on Synology.") } + if distro.Get() == distro.QNAP && !envknob.UseWIPCode() { + return errors.New("The Tailscale SSH server does not run on QNAP.") + } // otherwise okay case "darwin": // okay only in tailscaled mode for now.