Two devices on a tailnet should feel like they're plugged into the same router — even if one's at home and the other's a thousand miles away. This is the simplest possible demonstration of that promise: SSH from somewhere remote into something at home.
Once this works, you have everything you need to host services and reach them from anywhere — Jellyfin, Home Assistant, a private website, whatever. This is the wedge.
ssh you@home-server works from any tailnet device, regardless of locationscp in both directions: pull files from home, push files to homeSame two devices either way. The router is the same too. What changes is whether you're trying to punch through the router (left) or quietly tunnel around it (right).
From your client device (laptop, phone), check that you can see the home device:
tailscale status
You should see the home device listed with its tailnet IP. If not, revisit M3L7.
sudo apt install openssh-server # Ubuntu/Debian
sudo systemctl enable --now ssh
# Verify it's listening:
sudo ss -tlnp | grep :22
macOS includes SSH but it's off by default. Enable in System Settings → General → Sharing → Remote Login. Or via CLI:
sudo systemsetup -setremotelogin on
Add the OpenSSH Server feature: Settings → System → Optional features → Add → OpenSSH Server. Then start it:
Start-Service sshd
Set-Service -Name sshd -StartupType Automatic
From your client device:
ssh you@home-server
Replace you with your username on the home machine and home-server with whatever you named that device in the admin console.
Authenticate (password or SSH key), and you're now in a shell on your home machine.
Test it from somewhere else. Disconnect from your home wifi, tether to your phone instead, run the same command. It still works. That's the whole point of this course.
scp ~2 minSend a file:
scp ./report.pdf you@home-server:~/Documents/
Pull a file:
scp you@home-server:~/Pictures/photo.jpg ./
For folders, add -r: scp -r ./project you@home-server:~/.
# On your client, generate a key if you don't have one:
ssh-keygen -t ed25519
# Copy your public key to the home machine:
ssh-copy-id you@home-server
# Now SSH in — no password prompt.
ssh you@home-server
Tailscale offers its own SSH-handling that skips key management entirely. Tailscale authenticates you based on your tailnet identity; ACLs decide who can SSH in.
On the home machine:
sudo tailscale up --ssh
Now ssh you@home-server works without you ever having set up SSH keys. Add an ACL rule to restrict who can connect:
"ssh": [
{ "action": "accept", "src": ["you@example.com"], "dst": ["you@example.com"], "users": ["you", "root"] }
]
scptailscale ping home-server to debug.