tailscale icon indicating copy to clipboard operation
tailscale copied to clipboard

"Channel allocation error" executing script via Shortcuts SSH action over Tailscale

Open jtmathes opened this issue 1 year ago • 2 comments

What is the issue?

Screenshot 2024-06-15 at 14 24 40

"Channel allocation error" occurring when I initiate SSH connection over TailScale.

Steps to reproduce

  1. Set up TailScale SSH access on host device.
  2. Connect to TailScale on both devices.
  3. Create an Apple Shortcut.
  4. Enter SSH credentials in the "run script over ssh" Shortcut block.
  5. Run Shortcut.

Are there any recent changes that introduced the issue?

No response

OS

macOS, iOS

OS version

iOS 17.5.1

Tailscale version

1.68.0

Other software

No response

Bug report

No response

jtmathes avatar Jun 15 '24 19:06 jtmathes

I see the same error when running against a host using Tailscale 1.66.4. @jtmathes have you seen this work on older Tailscale versions?

oxtoacart avatar Jun 20 '24 15:06 oxtoacart

This is my first attempt, couldn't say if it's worked in the past or not. @oxtoacart

jtmathes avatar Jun 20 '24 17:06 jtmathes

Listen I dont know how I did it; but I did have this bug. After hours with chatgpt and trying out ideas, it worked? I dont know exactly how but if you want the details, please contact me on discord, @nullptrexception. My dm's are open :)

prakharevan1 avatar Jun 26 '25 00:06 prakharevan1

Listen I dont know how I did it; but I did have this bug. After hours with chatgpt and trying out ideas, it worked? I dont know exactly how but if you want the details, please contact me on discord, @nullptrexception. My dm's are open :)

However, one thing I can say is try changing ssh from "check" to "accept" because the channel occurs from Tailscale trying to make a interactive TTY to authenticate but it's a shortcut so it does not support that. However, please turn on Tailnet Lock before doing this for additional security.

prakharevan1 avatar Jun 26 '25 04:06 prakharevan1