What is the issue?
I'm running Tailscale with a client and a server in the same local network. The server has Tailscale SSH activated. Tailscale account has default settings, so MagicDNS is enabled.
Trying to connect via SSH from the client to the server with ssh user@hostname connects, but asks for the password of the user on the server. Presumably, the hostname resolves to the local IP 192.168.x.y instead of the Tailscale local IP 100.x.y.z. When instead running ssh user@100.x.y.z correctly opens the browser to authenticate with Tailscale.
When client and server aren't on the same local network, the client seems to be able to connect over ssh user@hostname just like over ssh user@100.x.y.z. Though not on iOS where the hostname doesn’t seem to work at all.
It seems there's similar reports, e.g. Reddit.
Steps to reproduce
- Install Tailscale on the server and activate with
sudo tailscale set --ssh.
- Install Tailscale on the client and activate.
- Ensure the client is in the same local network as the server.
- Run
ssh user@hostname or connect via SMB smb://hostname, VNC vnc://hostname, etc. in the Finder/Files app on the client.
Expected Result
Opens browser and authenticates with Tailscale.
Actual Result
Asks for password of user.
Are there any recent changes that introduced the issue?
No response
OS version
- Fedora 40
- macOS Sonoma 14.5, iOS 17.5.1
Tailscale version
Other software
No response
Bug report
No response
What is the issue?
I'm running Tailscale with a client and a server in the same local network. The server has Tailscale SSH activated. Tailscale account has default settings, so MagicDNS is enabled.
Trying to connect via SSH from the client to the server with
ssh user@hostnameconnects, but asks for the password of the user on the server. Presumably, the hostname resolves to the local IP192.168.x.yinstead of the Tailscale local IP100.x.y.z. When instead runningssh user@100.x.y.zcorrectly opens the browser to authenticate with Tailscale.When client and server aren't on the same local network, the client seems to be able to connect over
ssh user@hostnamejust like overssh user@100.x.y.z. Though not on iOS where the hostname doesn’t seem to work at all.It seems there's similar reports, e.g. Reddit.
Steps to reproduce
sudo tailscale set --ssh.ssh user@hostnameor connect via SMBsmb://hostname, VNCvnc://hostname, etc. in the Finder/Files app on the client.Expected Result
Opens browser and authenticates with Tailscale.
Actual Result
Asks for password of user.
Are there any recent changes that introduced the issue?
No response
OS version
Tailscale version
Other software
No response
Bug report
No response