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
- cmd/tailscale: mostly fix 'tailscale ssh' on macOS (sandbox) Still a little wonky, though. See the tcsetattr error and inability to hit Ctrl-D, for instance: bradfitz@laptop ~ % tailscale.app ss... — committed to tailscale/tailscale by bradfitz 2 years ago
- cmd/tailscale: mostly fix 'tailscale ssh' on macOS (sandbox) Still a little wonky, though. See the tcsetattr error and inability to hit Ctrl-D, for instance: bradfitz@laptop ~ % tailscale.app ss... — committed to tailscale/tailscale by bradfitz 2 years ago
- cmd/tailscale: mostly fix 'tailscale ssh' on macOS (sandbox) Still a little wonky, though. See the tcsetattr error and inability to hit Ctrl-D, for instance: bradfitz@laptop ~ % tailscale.app ss... — committed to tailscale/tailscale by bradfitz 2 years ago
- cmd/tailscale: mostly fix 'tailscale ssh' on macOS (sandbox) Still a little wonky, though. See the tcsetattr error and inability to hit Ctrl-D, for instance: bradfitz@laptop ~ % tailscale.app ss... — committed to tailscale/tailscale by bradfitz 2 years ago
- cmd/tailscale: mostly fix 'tailscale ssh' on macOS (sandbox) Still a little wonky, though. See the tcsetattr error and inability to hit Ctrl-D, for instance: bradfitz@laptop ~ % tailscale.app ss... — committed to tailscale/tailscale by bradfitz 2 years ago
- cmd/tailscale/cli: disable 'tailscale ssh' on sandboxed macOS Updates #3802 Updates #4518 Fixes #4628 Change-Id: I194d2cc30fc8e38b66d4910787efbce14317b0ff Signed-off-by: Brad Fitzpatrick <bradfitz@t... — committed to tailscale/tailscale by bradfitz 2 years ago
- cmd/tailscale/cli: disable 'tailscale ssh' on sandboxed macOS Updates #3802 Updates #4518 Fixes #4628 Change-Id: I194d2cc30fc8e38b66d4910787efbce14317b0ff Signed-off-by: Brad Fitzpatrick <bradfitz@t... — committed to tailscale/tailscale by bradfitz 2 years ago
- cmd/tailscale/cli: disable 'tailscale ssh' on sandboxed macOS Updates #3802 Updates #4518 Fixes #4628 Change-Id: I194d2cc30fc8e38b66d4910787efbce14317b0ff Signed-off-by: Brad Fitzpatrick <bradfitz@t... — committed to tailscale/tailscale by bradfitz 2 years ago
Posted https://developer.apple.com/forums/thread/709444 on Apple’s forums.
@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.