Vinay Varma

Tailscale SSH Setup

1. Does Tailscale SSH use the regular SSH port?

Question

Does Tailscale SSH use the regular SSH port? If yes, then what is the point of Tailscale SSH?

Answer

There are two different things:

Regular SSH over Tailscale

This is when you connect to your VPS's Tailscale IP using your normal SSH server.

Example:

ssh root@100.x.x.x -p 7576

In this case:

Tailscale SSH Feature

This is a separate Tailscale feature.

In this mode:

Example:

tailscale ssh root@server-name

So in your setup, because your SSH daemon is listening on port 7576, you are currently using regular SSH over the Tailscale network, not the Tailscale SSH feature.

2. Why did I still have to specify the port and password in Termius?

Question

Even with Tailscale turned on, why did I still need to provide:

Answer

Because you are still using your regular SSH server.

Your VPS SSH server is configured like this:

Tailscale does not automatically replace those settings unless you explicitly use the Tailscale SSH feature.

So even when using Tailscale, you still had to enter:

3. Can I completely shut off the public SSH port?

Question

If I shut down port 7576 from the public internet, can I still connect as long as both the VPS and phone are on Tailscale?

Answer

Yes.

If:

then only devices inside your Tailscale network can connect to the VPS.

People on the public internet will not even see port 7576 open.

Your phone will connect using the VPS's Tailscale IP address.

4. What happens if I close public SSH before Tailscale is ready?

Question

What if I close public SSH access, then get disconnected before Tailscale is fully working?

Answer

That is a real lockout risk.

Possible scenario:

At that point, you may be locked out of the VPS.

Your only recovery methods would be:

5. What is the safe order to switch from public SSH to Tailscale-only SSH?

Question

How should I safely move to Tailscale-only access without risking lockout?

Answer

Safe sequence:

  1. Install Tailscale
  2. Confirm Tailscale is connected
  3. Test SSH using the VPS Tailscale IP from another device
  4. Confirm Tailscale starts automatically on boot
  5. Only after successful testing, block public SSH access

6. Should I still keep some backup access method?

Question

Should I completely rely on Tailscale?

Answer

It is safer to keep at least one backup access method.

Examples:

That way, if Tailscale fails, you are not permanently locked out.

7. What is the advantage of SSH over Tailscale compared to leaving SSH open publicly?

Question

What is the advantage of connecting over Tailscale instead of just leaving SSH open publicly on port 7576?

Answer

Using SSH over Tailscale has several benefits:

8. Is public SSH still safe if configured properly?

Question

If I keep public SSH open, is it still safe?

Answer

Yes, public SSH can still be safe if configured correctly.

Good practices:

However, Tailscale is simpler and quieter because your SSH service is not exposed publicly at all.

This gives: