How to connect to a remote Mac from Windows, iPhone or Android

Whether you’ve rented a remote Mac or want to reach the Mac you left at home, the first question is always the same: what do I connect with? It depends on the device in front of you and what you need to do.

Three ways to connect

Method What you get Best for
Screen Sharing (VNC) The full Mac desktop Xcode, the iOS Simulator, any app with a GUI
SSH A terminal Scripts, builds, git, installing packages, VS Code remote development
Remote-desktop apps (AnyDesk, RustDesk…) The full Mac desktop Tricky networks, or if you already use one of these apps

Most developers combine Screen Sharing + SSH: open the desktop when you need to click through a UI, and do everything else over SSH or in your editor. It uses less bandwidth and feels faster.

From another Mac

Screen Sharing is built into macOS — nothing to install:

  1. In Finder, press ⌘K (Go → Connect to Server).
  2. Enter vnc://address:port, for example vnc://example.com:5901.
  3. Sign in with the username and password of the remote Mac.

Between two Apple silicon Macs, Screen Sharing also offers a High Performance mode for smoother video.

For SSH, just use Terminal:

ssh username@address -p port

From Windows

Screen Sharing: Windows has no built-in client for Mac Screen Sharing, so install a VNC viewer. RealVNC Viewer (free) works well because it lets you sign in with the Mac’s own username and password. Create a connection to address:port, then enter the remote Mac’s account password.

SSH: Windows 10 and 11 ship with OpenSSH. Open PowerShell or Windows Terminal:

ssh username@address -p port

VS Code remote development: install the Remote - SSH extension and add the SSH connection above. You can then open projects that live on the Mac, use the Mac’s terminal and run builds there — all from VS Code on Windows. For work that doesn’t need the Xcode UI (day-to-day Flutter or React Native coding, for example), this is the most comfortable setup.

From an iPhone, iPad or Android phone

Both the App Store and Google Play have VNC clients (RealVNC Viewer, among others). Enter the address, port and the Mac’s account password. A phone screen is fine for checking a build or restarting an app; for real work, use a computer.

There are SSH apps for phones too (Termius, for example) for running a quick command.

Remote-desktop apps: AnyDesk, RustDesk and others

You can also install your favourite remote-desktop app on the Mac. Two things to know:

On a Mac rented from Tokyo Mac, the easiest way is to open My Macs → Install apps on the website, tick AnyDesk, RustDesk, Parsec, TeamViewer or another remote app and press install — it’s ready in a few minutes. The package comes from Tokyo Mac’s own software server in the same data center as the machine, so it’s faster than downloading it yourself, and it’s checked against the SHA-256 recorded by Homebrew before installing. It works on a standard user account, with no administrator password.

Selecting RustDesk under My Macs → Install apps on Tokyo Mac

Can’t connect, or it’s laggy?

With Tokyo Mac

Every Tokyo Mac machine is a dedicated Mac mini in Tokyo with sleep and screen lock turned off, online 24/7. After you pay, you set up your own account under Account → My Macs (username, password, system language, plus optional Homebrew and remote-desktop apps like AnyDesk or RustDesk). Once it’s ready, the same page lists the Screen Sharing address and SSH command, with one-click connect and copy buttons.

Not sure the network will suit you? Start with a 24-hour trial.

Related: How to build and publish an iOS app without owning a Mac

More guides