Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tailscale ssh is not working when built with ts_include_cli #12125

Open
SuperSandro2000 opened this issue May 14, 2024 · 1 comment · May be fixed by #12109
Open

tailscale ssh is not working when built with ts_include_cli #12125

SuperSandro2000 opened this issue May 14, 2024 · 1 comment · May be fixed by #12109

Comments

@SuperSandro2000
Copy link

What is the issue?

When tailscale is built with the ts_include_cli tag and the tailscaled binary is symlinked to tailscale (https://tailscale.com/kb/1207/small-tailscale), tailscale ssh fails like:

$ tailscale ssh host -v
...
debug1: Local version string SSH-2.0-OpenSSH_9.7
2024/05/12 22:57:44 tailscaled does not take non-flag arguments: ["nc" "host" "22"]
kex_exchange_identification: Connection closed by remote host
Connection closed by UNKNOWN port 65535

Steps to reproduce

  • build tailscaled with ts_include_cli tag
  • symlink tailscale to tailscaled
  • run tailscale ssh
  • see that it tries to execute tailscaled nc which doesn't exist

Are there any recent changes that introduced the issue?

I think that never worked

OS

Linux

OS version

NixOS unstable

Tailscale version

1.66.1

Other software

No response

Bug report

No response

SuperSandro2000 added a commit to SuperSandro2000/tailscale that referenced this issue May 14, 2024
Closes tailscale#12125

Signed-off-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
@thenbe
Copy link

thenbe commented May 15, 2024

I can reproduce this issue on nixos.

$ tailscale ssh user@host
2024/05/15 16:08:39 tailscaled does not take non-flag arguments: ["nc" "host.tail123ab.ts.net." "22"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants