ipn/ipnlocal: remove WIP restriction for Tailscale SSH on macOS

It kinda works fine now on macOS with the recent fixes in 0582829 and
 5787989d.

Signed-off-by: Maisem Ali <maisem@tailscale.com>
This commit is contained in:
Maisem Ali 2023-03-09 11:16:30 -08:00 committed by Maisem Ali
parent 92fc243755
commit 1e72de6b72

View File

@ -2536,9 +2536,6 @@ func (b *LocalBackend) checkSSHPrefsLocked(p *ipn.Prefs) error {
if version.IsSandboxedMacOS() { if version.IsSandboxedMacOS() {
return errors.New("The Tailscale SSH server does not run in sandboxed Tailscale GUI builds.") return errors.New("The Tailscale SSH server does not run in sandboxed Tailscale GUI builds.")
} }
if !envknob.UseWIPCode() {
return errors.New("The Tailscale SSH server is disabled on macOS tailscaled by default. To try, set env TAILSCALE_USE_WIP_CODE=1")
}
case "freebsd", "openbsd": case "freebsd", "openbsd":
default: default:
return errors.New("The Tailscale SSH server is not supported on " + runtime.GOOS) return errors.New("The Tailscale SSH server is not supported on " + runtime.GOOS)