r/Tailscale • • 20h ago

Help Needed Unable to use Tailscale SSH console from Android to Linux server with Tailscale Lock

Summary

According to the Tailnet Lock documentation, ”You can use Tailscale SSH Console to establish an SSH session for a signed node in your tailnet,“ provided ”your tailnet policy file permits network access“ and ”a Tailscale SSH rule permits SSH access.“

As far as I can tell, this is exactly the case in my Tailnet. But, I‘m unable to access my Linux server from my Android phone using the Tailscale SSH console. I can access it using Termux.

Hardware and software

  • Server: Linux Ubuntu 26.04
  • Phone: Pixel 10 Pro XL, Android 17
  • The server is a signing node, and the phone is signed
  • Server and phone both have Tailscale version 1.104.7
  • Server and phone are both connected to the same router
  • Phone VPN settings set to Tailscale ”Connected, Always on“

What works

  • On the phone, open Termux and enter the command ssh uname@sname (actual user name and server name replaced with uname and sname). This works flawlessly.

What doesn’t work

  1. On the phone, in Chrome, open https://console.tailscale.com/admin/machines
  2. Select the mini-menu next to the sname > SSH to machine
  3. Select the local username uname
  4. Start SSH Session
  5. A new tab opens asking me to re-authenticate, which I do
  6. It opens a black page with the message, ”Connecting to Tailscale“
  7. It soon changes to, ”Connecting to sname…“
  8. After a few seconds, the tab closes

Diagnosis

My Access Controls contain the following snippet.

"ssh": [
    {
        "action": "accept",
        "src":   ["autogroup:admin"],
        "dst":   ["autogroup:self"],
        "users": ["uname"],
    }

When I attempt to connect, the Machines page shows the following lockout.

Locked-out session

The command tailscale lock status on the server shows the following results:

Tailnet Lock is ENABLED.

This node is accessible under Tailnet Lock. Node signature:
… [snip] …
The following nodes are locked out by tailnet lock and cannot connect to other nodes:
    tailscale-ssh-console-[redacted].[redacted].ts.net. 100.[redacted],fd7a:[redacted] [redacted]CNTRL nodekey:[redacted]

Questions

  1. Am I doing something wrong, perhaps? How could I diagnose further?
  2. Alternatively, what can I do to fix this?
  3. Or, is this intended behaviour (which I don't think that it is, given the linked instructions)?
0 Upvotes

2 comments sorted by

1

u/Killer2600 20h ago

You have to sign the locked out node before you can access it via tailscale.

1

u/PaddyLandau 19h ago

I don't know how I would sign an ephemeral node. It kind of defeats the purpose, anyway, because each time I try to connect, it creates a new ephemeral node. I'd have to somehow sign it before it's created, which of course is impossible?

Unless you mean to sign the phone itself, which is already done.