Mac hosting guide

VNC vs SSH for Remote Mac:
Which to Use Guide

Use VNC when you need the macOS display and SSH for command-line builds and file transfers. For a long-lived workstation, run SSH and tunnel VNC through it. Every Figment plan includes SSH; the Intel Mac VM and the Dedicated M4 Pro also include remote desktop.

Figment editorial teamPublished Updated Facts checked November 10, 2026

Figment Mac plans

US East. Pay before use. Hourly and daily too.

Intel Mac VM4 shared vCPUs, 4GB RAM, 80GB SSD$25per monthApple Silicon Mac VM4 shared vCPUs, 4GB RAM, 65GB SSD$39per monthDedicated M4 Pro12-core CPU, 24GB RAM, 512GB SSD$199per month

Minimum first purchase: $25 of account credit, used for your rental.

Use VNC for anything that needs the macOS display, such as Xcode's organiser, Simulator, Sketch and System Settings. Use SSH for command-line builds, file transfers and CI agent registration. For a persistent developer workstation, use SSH as the transport and tunnel VNC through it. The two protocols serve different layers of the same job, and the Intel Mac VM and the Dedicated M4 Pro include SSH, an encrypted remote desktop connection and browser access.

What does VNC give me that SSH cannot?

VNC gives you the graphical desktop. It is the Remote Framebuffer protocol standardised in RFC 6143. It streams the host Mac's screen as a framebuffer and relays keyboard and mouse events back, so you see the full macOS desktop as the host renders it.

These tasks work only over VNC:

  • GUI applications. Xcode's graphical scheme editor, Instruments, Simulator, Figma desktop and Sketch all open windows and need a display. SSH does not expose one.
  • System Settings navigation. Accessibility, display colour profiles, user account creation and TCC privacy prompts are not reliably driven by defaults write alone.
  • Screen recording and client demos. QuickTime on the host captures the real display, and the client needs nothing extra.

VNC listens on TCP 5900 by default, with additional displays on 5901, 5902 and so on. Its built-in authentication is a DES challenge-response with the password truncated to 8 characters. RFC 6143 states this method "is known to be cryptographically weak and is not intended for use on untrusted networks" and recommends running the session over IPsec or SSH. Never expose 5900 directly to the internet. On Figment, raw VNC is reachable only through an authenticated, encrypted connection and is never exposed directly.

What does SSH give me that VNC cannot?

SSH gives you a fast, encrypted shell. See OpenBSD ssh(1). Anything a terminal can do, SSH can do remotely with almost no overhead.

  • Fast builds and automation. xcodebuild, fastlane, brew and package installs run at line speed, while VNC adds display rendering latency to every line of output.
  • File transfer. scp, rsync -az and SFTP all layer over SSH. Push a 2 GB asset or sync a font library with one command. VNC clipboard paste is not designed for binary payloads.
  • CI agent registration. GitHub Actions self-hosted runners and Buildkite agents connect outbound over HTTPS. You register and start them in an SSH terminal, and no display is required.
  • Port forwarding. The -L flag tunnels a local port to any port on the host through the encrypted channel, including VNC's 5900.

How do latency and bandwidth compare?

SSH uses far less bandwidth than VNC, and its delay is mostly your network round-trip time. The numbers below are rough planning figures, not benchmarks, and they are not Figment measurements. We do not publish latency figures for our remote desktop connection.

MetricSSH (CLI only)VNC (full desktop, ZRLE/TRLE)
Idle bandwidthunder 1 KB/s10 to 50 KB/s keep-alive
Active 1920×1080 UI workn/a1 to 8 Mbps typical
Active 4K with video playbackn/a20 to 60 Mbps
Command output latency over 50 ms RTTroughly 50 to 80 ms80 to 200 ms
Minimum useful uplink1 Mbps5 Mbps recommended

VNC uses demand-driven updates: the client requests a framebuffer update and the host returns only the changed rectangles, which ZRLE and TRLE encodings compress further. Even so, a 4K display during active design work is expensive. On a slow link, switch the client to 256-colour or grayscale mode and close video-playing tabs on the host.

How do I wrap VNC inside an SSH tunnel?

Open the tunnel first, then point your VNC client at localhost:

# Replace USER, HOST with your rental credentials
# -N: do not execute a remote shell
# -L: forward local port 5901 to the host's port 5900
ssh -N -L 5901:localhost:5900 USER@HOST

Leave that terminal running and connect your VNC client to localhost:5901. All VNC traffic travels inside the encrypted SSH channel, and 5900 on the host does not need to be reachable from the internet. Use the host name and SSH details shown in your Figment account.

Add -f to send the tunnel to the background:

ssh -f -N -L 5901:localhost:5900 USER@HOST

To close the background tunnel, run kill $(lsof -ti tcp:5901).

For convenience, add a Host block to ~/.ssh/config:

Host mymac
    HostName HOST
    User USER
    LocalForward 5901 localhost:5900
    ServerAliveInterval 60

Then ssh -N mymac opens the tunnel in one command. The flags are documented in the OpenBSD ssh(1) manual.

Which should I choose, VNC or SSH?

We recommend SSH for anything a terminal can do and VNC tunnelled through SSH for anything that needs the display.

WorkflowProtocolOne command to get started
Run Xcode GUI, Instruments, or SimulatorVNC inside an SSH tunnelssh -N -L 5901:localhost:5900 USER@HOST, then connect VNC to localhost:5901
CLI builds: xcodebuild, fastlane, brewSSHssh USER@HOST
Upload or download large files, sync fontsSSH via SFTP or rsyncrsync -az ./fonts/ USER@HOST:~/Library/Fonts/
Admin tasks: install pkg, change settingsSSH plus sudossh USER@HOST then sudo installer -pkg ./Thing.pkg -target /
Register a CI runner (GitHub Actions, Buildkite)SSH to start the agentssh USER@HOST './actions-runner/run.sh'
Screen recording or live client demoVNC (tunnel still recommended)Connect VNC; record with QuickTime on the host
Persistent developer workstationSSH tunnel plus VNCOpen tunnel with -f -N; connect VNC client to localhost:5901

How do I connect from macOS, Windows or Linux?

Open the tunnel, then connect a VNC client to localhost:5901.

macOS client (built-in):

  1. In Terminal: ssh -N -L 5901:localhost:5900 USER@HOST
  2. Finder → Go → Connect to Server → vnc://localhost:5901
  3. Enter the Screen Sharing password set on the host.

Windows client:

  1. Use the built-in OpenSSH (Windows 10 and later) or install PuTTY.
  2. In PowerShell or Windows Terminal: ssh -N -L 5901:localhost:5900 USER@HOST
  3. Open RealVNC Viewer or TigerVNC and connect to localhost:5901.

Linux client:

  1. ssh -f -N -L 5901:localhost:5900 USER@HOST
  2. vncviewer localhost:5901, or use Remmina with the address vnc://localhost:5901.

Do all Figment plans include SSH, browser access and remote desktop?

Every plan includes browser access, SSH and administrator access to your own Mac or VM. The Intel Mac VM and the Dedicated M4 Pro also include an encrypted remote desktop connection; the Apple Silicon Mac VM does not include it yet. Choose by the work. Use the Apple Silicon Mac VM ($39 a month) or the Dedicated M4 Pro 48 GB ($349 a month) for Simulator, GUI tools and current Xcode, and the Intel Mac VM ($25 a month) for Xcode 26.3 or earlier. Check the connection details shown in your account for the remote desktop client and protocol. Turn on Screen Sharing yourself as described in enabling Screen Sharing on a rented Mac.

Related guides:

Which Figment Mac fits this work?

Intel Mac VM from $25 a month, Apple Silicon Mac VM from $39, or a Dedicated M4 Pro for $199. Hourly and daily plans too. You pay before use, starting with at least $25 of account credit.

Choose a Mac plan