Connection overview
Introduction
Section titled “Introduction”Every My Remote Mac instance is reachable in two complementary ways, and you can use both at the same time: a graphical macOS desktop and a terminal. This page explains both, the ports they use, and the brute-force protection that’s enabled by default.
How it works
Section titled “How it works”1. Desktop (GUI) — VNC / Apple Screen Sharing
Section titled “1. Desktop (GUI) — VNC / Apple Screen Sharing”A full macOS desktop, exactly as if you were sitting in front of the machine — the standard VNC protocol, which macOS calls Screen Sharing. Best for Xcode’s UI, app testing, and anything visual.
2. Terminal — SSH
Section titled “2. Terminal — SSH”Root-capable shell access on port 22 for builds, scripts, package installs and CI/CD. Supports password and key-based authentication.
Brute-force protection (fail2ban)
Section titled “Brute-force protection (fail2ban)”Both services are watched by fail2ban. After 5 failed logins within 10 minutes, the offending IP is banned for 1 hour — on SSH and VNC. So double-check your username, port and key before retrying, or you may lock yourself out temporarily. See Security.
Examples — set up your platform
Section titled “Examples — set up your platform”Ports reference
Section titled “Ports reference”| Service | Port | Protocol |
|---|---|---|
| SSH | 22 | TCP |
| Screen Sharing / VNC | 59010 | TCP |
If a connection fails, a local firewall or VPN blocking these ports is the most common cause — see Troubleshooting.
FAQ
Which ports do I connect to?
22 and the VNC / Screen Sharing desktop is on port 59010 (not the default 5900). The custom VNC port reduces automated brute-force attacks.Why do I get disconnected immediately over SSH?
ssh your-username@YOUR-IP — this is required for both password and key authentication.I see "Your screen is being observed" on the Mac. Is someone watching me?
I entered the wrong password a few times and now nothing connects. Why?
Can I use AnyDesk, TeamViewer or another remote desktop?
59010 is the supported default.Do you offer KVM or IPMI access?
22) and VNC / Screen Sharing (port 59010).