Remote access
Use your Mac mini from a Windows PC
A Mac mini makes a great always-on dev machine: quiet, cheap to run, and fast. The question is how you use it from your Windows desktop, your work laptop or your phone.
Remote desktop works, but it streams pixels: it's laggy over Wi-Fi and painful on a phone. A plain SSH client gets you a shell and nothing else. Pane gives you the Mac mini's terminals, files, dev servers and coding agents from Windows or a phone, and it runs at native speed because only text and data cross the network.
What you'll have at the end
Pane on your Windows PC, connected to the Mac mini. You'll be able to open terminals on the mini, edit its files, and view its dev servers at localhost in a browser tab. Your phone reaches the mini too, on any network.
Steps
- On the Mac mini: install Pane (
curl -fsSL https://runpane.com/install.sh | sh). - Keep the mini awake: System Settings → Energy → "Prevent automatic sleeping when the display is off".
- On Windows: install Pane (
irm https://runpane.com/install.ps1 | iex). - Pair your phone with the mini: on the mini, open Home → Pair a phone. Point your phone's camera at the QR code and tap the link. It opens the Pane iPhone app, or Pane in your phone's browser.
- Link the Windows PC: on Windows, open Home → Pair a phone and scan that code with the Pane app on the same phone. The two computers link. On Windows, the mini now shows under Settings → Remote Access → Computers.
It works on any network, with no port forwarding. Linking needs the Pane iPhone app (in TestFlight). Without it, install Tailscale on both machines and sign in with the same account. The mini then shows under Computers on its own. See Your computers.
Plain SSH from Windows too
If you also want ssh mini in a Windows terminal:
- Turn on Remote Login on the mini (System Settings → General → Sharing).
- On Windows, make a key:
ssh-keygen -t ed25519 - Copy it to the mini:
Get-Content $env:USERPROFILE\.ssh\id_ed25519.pub | ssh <user>@<mini> "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys" - Add a
Host minientry toC:\Users\<you>\.ssh\configwith the mini's Tailscale address (install Tailscale on both machines), or its local address when you're on the same network.
Troubleshooting
- "Reconnecting to <computer>…": Pane retries at least every 5 seconds and is usually back within seconds. There's nothing to do.
- "Asleep since 9:40": the mini went to sleep. See step 2.
- Can't connect over Tailscale: check both machines show as connected in Tailscale. There's no need to open port 22 on your router, and you shouldn't.
Related
Sources
- Corrections
- If anything here is wrong or out of date, tell us and we'll fix it and update the date at the top. Open an issue on GitHub
- Sources
By Parsa Khazaeepoul, co-founder of Pane. .