// troubleshooting guide · tailscale

Tailscale SSH Permission Denied

Status
Workaround available
platforms:
Linux, macOS
updated:
November 16, 2026
reports:
4
Method
how we research
Share

RUNBOOK · tailscale/ssh-permission-denied4 FIXES

// quick answer

'Permission denied (tailscale)' means the policy's SSH section doesn't allow your user to log in as that local user. Add an ssh rule for your source and target user, confirm the Unix user exists, and use accept mode for automated jobs.

Most likely fix: Add an SSH rule to the policy

How to fix it

// try these in order, the most common fix is first

  1. FIX 1Add an SSH rule to the policy

    1. 01Open Access controls in the admin console
    2. 02In the ssh section, add a rule with action 'accept' or 'check', your user or group as src, the device or tag as dst, and users such as autogroup:nonroot
    3. 03Use the Preview rules tab to confirm
    Did this fix it?
  2. FIX 2Confirm the local user

    1. 01Make sure the Unix user you log in as exists on the target machine
    Did this fix it?
  3. FIX 3Use accept mode for automation

    1. 01Change the rule from 'check' to 'accept' for backups and scripts that can't open a browser
    Did this fix it?
  4. FIX 4Update to v1.104.4 or later

    1. 01Update tailscaled on every Tailscale SSH host to pick up the October 2026 security fixes (TS-2026-014 to TS-2026-017)
    Did this fix it?

SANDBOX · tailscale RUNS IN YOUR BROWSER

Try it: connect to a server and see what websites see

A hands-on Tailscale-style sandbox, including the spots where users get stuck. See where problems like this one start. 1-2 minutes, nothing is saved.

Symptoms

SSH fails with 'Permission denied (tailscale)' or 'Tailscale SSH enabled, but access controls don't allow anyone to access this device'; scripts hang waiting for a browser login.

Why it happens

  • C-01No ssh rule in the policy file for this source, destination or user
  • C-02Target Unix user doesn't exist on the machine
  • C-03Rule uses check mode, which requires periodic browser re-authentication
  • C-04Outdated client (security fixes in v1.104.4)

// this guide also covers

  • tailscale ssh permission denied
  • tailscale ssh not working
  • tailscale ssh check mode
  • tailscale ssh access controls don't allow

Still not working?

If Tailscale keeps failing, you're not alone. See every Tailscale problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us

Watch Tailscale Get an email when its price changes, it has an outage, or we publish a new fix. No spam.

Fixed it? Share this guide

Other Tailscale errors

All 13 Tailscale errors and fixes →