tailscale: `tailscale ssh` doesn't work with the macOS sandbox app

What is the issue?

$ /Applications/Tailscale.app/Contents/MacOS/Tailscale ssh ws-1
Pseudo-terminal will not be allocated because stdin is not a terminal.
kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535

Steps to reproduce

Run /Applications/Tailscale.app/Contents/MacOS/Tailscale ssh <host> on any macOS machine, where <host> is any Tailscale node.

Are there any recent changes that introduced the issue?

No response

OS

macOS

OS version

12.2.1

Tailscale version

1.24

Bug report

No response

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 2
  • Comments: 16 (7 by maintainers)

Commits related to this issue

Most upvoted comments

@geoffeg, this issue is specifically about the sandboxed Tailscale CLI which neither of your example ssh paths are using. So this is the wrong issue.

I see. I’ll ask my team to try that. My understanding is that, they were trying to use the normal ssh, which didn’t work. Then tried tailscale ssh, and that didn’t work. Anyways, will confirm.

@manishrjain, you can just use the normal “ssh” command from macOS to a Linux Tailscale SSH machine. You don’t need the “tailscale ssh” subcommand.

Echo this same issue. My teammates aren’t able to ssh into machines where tailscale is controlling ssh via their Mac systems. So, I had to disable tailscale ssh and revert back to normal ssh.