I am new to this. I have setup Laravel VPS and connected to it fine to create and edit directly on that folder. Anyhow, When I did this I was in my own network at home, since the server is home server. Now that I am out I need to connect to that VPs using TailScale Network. How can I change my SSH network IP that I connect with?
Hey Ben. Cursor uses the standard OpenSSH config, so switching to Tailscale is just editing ~/.ssh/config, there’s nothing Cursor-specific to set up.
Steps:
Make sure Tailscale is running on both the home server and your laptop. Find the server’s Tailscale IP using tailscale ip -4 on the server, it looks like 100.x.y.z, or use its MagicDNS name like myserver.tailnet-name.ts.net.
In Cursor: Cmd+Shift+P or Ctrl+Shift+P then Remote-SSH: Open SSH Configuration File… or open ~/.ssh/config directly.
In your existing entry, change HostName from the home LAN IP like 192.168.x.x to the Tailscale IP or MagicDNS name. Your saved connection will still work under the same Host alias. Or add a second entry to keep both options:
Host myserver-tailscale
HostName 100.x.y.z
User <your-user>
Port and key stay the same as before.
Cmd+Shift+P or Ctrl+Shift+P then Remote-SSH: Connect to Host… and pick the host.
Same sshd, same keys, only the address changes. Tip: use your normal sshd over the Tailscale IP, not Tailscale SSH, so you avoid the extra browser auth step.