# Transfer Files To and From a Remote Mac Guide

Canonical: https://figment.so/blog/mac-remote-desktop-file-transfer

Use scp for one-off copies, rsync for repeated or large syncs, and Finder's Connect to Server or WinSCP for drag and drop. All three run over SSH, which every Figment plan includes.

**Use `scp` for a one-off copy, `rsync` for large or repeated syncs, and Finder's Connect to Server (or WinSCP on Windows) for drag and drop.** All three run over SSH, which is already installed on macOS and Linux and available on Windows through WSL or a dedicated client. Every Figment plan includes SSH, so use the host and port shown in your Figment account.

## Which method should I use?

| Method | Best for | Incremental | GUI |
|--------|----------|-------------|-----|
| `scp` | Single files or one-time directory copy | No | No |
| `rsync` | Large folders, repeated syncs, bandwidth-sensitive | Yes | No |
| Finder / WinSCP (SFTP) | Exploratory browsing, drag-and-drop | No | Yes |

Reach for `scp` when the path is known and the copy happens once. Reach for `rsync` when the folder is large, the sync repeats (growing assets during a build), or bandwidth is constrained, because after the first run rsync moves only changed blocks. Use SFTP in Finder or WinSCP when you want to click around the remote filesystem.

## How do I copy files with scp?

Run `scp` with your SSH key and the remote path. It uses SSH for transport and respects `~/.ssh/config`, so an existing key and host alias work immediately. Capital `-P` sets the port (lowercase `-p` preserves timestamps, a frequent confusion). All flags are in the [OpenBSD scp(1) manual](https://man.openbsd.org/scp), which also notes that since OpenSSH 9.0 `scp` uses the SFTP subsystem by default.

```bash
# Upload a single file to the Mac's Desktop
scp -i ~/.ssh/mac_rental ./build.zip user@rental-host:~/Desktop/

# Upload a directory recursively with compression
scp -r -C -i ~/.ssh/mac_rental ./assets/ user@rental-host:~/Projects/assets/

# Download a build output directory from the Mac
scp -r -i ~/.ssh/mac_rental user@rental-host:~/build/output/ ./local-output/

# Non-standard SSH port
scp -P 2222 -i ~/.ssh/mac_rental ./config.plist user@rental-host:~/Library/Preferences/
```

Quote remote paths that contain spaces:

```bash
scp -i ~/.ssh/mac_rental user@rental-host:"~/My Project/Assets/" ./local-assets/
```

Leave `-O` (legacy SCP protocol) off unless the server requires it; the default SFTP mode handles special characters more safely.

## How do I sync a large folder with rsync?

Use `rsync -avz` over SSH. It compares source and destination and transfers only the differing blocks, so for a 500 MB folder where most files are unchanged, the second run moves kilobytes.

```bash
# Upload: sync local assets folder to the Mac
rsync -avz --progress \
  -e "ssh -i ~/.ssh/mac_rental" \
  ./assets/ \
  user@rental-host:~/Projects/assets/

# Download: pull build output to local
rsync -avz --progress \
  -e "ssh -i ~/.ssh/mac_rental" \
  user@rental-host:~/build/output/ \
  ./local-output/

# Mirror: delete files on remote that no longer exist locally
rsync -avz --delete \
  -e "ssh -i ~/.ssh/mac_rental" \
  ./src/ \
  user@rental-host:~/Projects/src/
```

Flags: `-a` archive (permissions, timestamps, symlinks), `-v` verbose, `-z` compress in transit, `--progress` per-file progress, `--delete` removes files missing from the source, so use it carefully.

Windows users can run these inside WSL 2 or Cygwin. Trailing slashes matter: `./assets/` copies the folder's contents, while `./assets` copies the folder itself.

## How do I mount the remote Mac in Finder?

Press **Cmd-K** in Finder and enter an `sftp://` URL. Apple's [Connect to Server guide](https://support.apple.com/guide/mac-help/connect-to-a-server-on-your-network-mchlp1140/mac) documents the Go → Connect to Server path and favorites.

1. In Finder, press **Cmd-K** (or Go → Connect to Server).
2. Enter `sftp://user@rental-host`.
3. Authenticate with a password or key passphrase.
4. The remote Mac appears as a volume in the Finder sidebar.

The connection runs over SSH, so the key pair you use for `scp` works. On Windows:

- **WinSCP** (free, open source): enter Host, Username, and attach the private key under Advanced → Authentication.
- **FileZilla** (free): Site Manager → SFTP with a key-file option.

Both offer split-pane drag and drop with a progress bar, which is practical for a 500 MB bundle.

## How much does a repeated 500 MB sync move?

About 880 MB a month with `rsync`, against 10,000 MB with a full `scp -r` each day. Suppose a game team re-uploads a 500 MB `SpriteAssets/` folder every workday, and about 20 MB of sprites change on a typical day. Over a 20-workday month:

- First run: ~500 MB
- 19 incremental runs: 19 × 20 MB = ~380 MB
- **Total: ~880 MB a month**

Copying the full folder with `scp -r` every day moves 20 × 500 MB = 10,000 MB, so `rsync` cuts outbound transfer by roughly 91%.

## What are the five commands I will use most?

```bash
# 1. Upload a single file
scp -i ~/.ssh/mac_rental ./release-1.2.ipa user@rental-host:~/Desktop/

# 2. Upload a directory recursively with compression
scp -r -C -i ~/.ssh/mac_rental ./DesignAssets/ user@rental-host:~/Projects/DesignAssets/

# 3. Download Xcode archives
scp -r -i ~/.ssh/mac_rental user@rental-host:~/Library/Developer/Xcode/Archives/ ./Archives/

# 4. Incremental sync (only changed bytes transferred)
rsync -avz --progress \
  -e "ssh -i ~/.ssh/mac_rental" \
  ./SpriteAssets/ \
  user@rental-host:~/Projects/SpriteAssets/

# 5. Mount as SFTP volume in Finder (local macOS to remote Mac)
# Press Cmd-K, then enter:
#   sftp://user@rental-host
```

## How do I verify a transfer arrived intact?

Compare checksums on both sides. macOS and Linux both ship `md5` and `shasum`.

```bash
# Single-file check (run on each side, compare output)
md5 ./DesignAssets.zip

# Directory check with SHA-256
find ./DesignAssets -type f | sort | xargs shasum -a 256 > local-checksums.txt
# Then on the remote Mac, run the same command, scp the file back, and diff:
diff local-checksums.txt remote-checksums.txt
```

If a mismatch appears after rsync, re-run with `--checksum` to compare contents rather than size and modification time:

```bash
rsync -avz --checksum -e "ssh -i ~/.ssh/mac_rental" \
  ./DesignAssets/ user@rental-host:~/Projects/DesignAssets/
```

## How do I speed up transfers?

Tune compression, cipher and parallelism, and measure on your own files.

**Compression.** `scp -C` and `rsync -z` apply zlib before transmission. It helps text, source and uncompressed images. It rarely helps ZIP, JPEG or MP4 and can slow those down when CPU time exceeds the bytes saved.

**Cipher choice.** On modern CPUs, `aes128-gcm@openssh.com` and `chacha20-poly1305@openssh.com` are faster than AES-256 CBC variants:

```bash
scp -c aes128-gcm@openssh.com -r ./LargeAssets/ user@rental-host:~/Projects/
```

**Parallelism.** `rsync` is single-threaded per session. For independent folders, run processes side by side to saturate the link:

```bash
rsync -avz -e "ssh -i ~/.ssh/mac_rental" ./Assets/Audio/ user@rental-host:~/Assets/Audio/ &
rsync -avz -e "ssh -i ~/.ssh/mac_rental" ./Assets/Video/ user@rental-host:~/Assets/Video/ &
wait
```

## Do all three transfer methods work on every Figment plan?

All three methods work on any Figment plan, because every plan includes SSH. Pick the plan by the software you run, not by the transfer tool: the [Intel Mac VM](/mac-hosting#intel-vm) ($2 a day, $25 a month, 80GB SSD) for Xcode 26.3 or earlier, the [Apple Silicon Mac VM](/mac-hosting#apple-silicon-vm) ($6 a day, $39 a month, 65GB SSD) for current Xcode, or the [Dedicated M4 Pro 48 GB](/mac-hosting#dedicated-m4-pro) ($349 a month, or $299 a month on a 12-month term, 512GB SSD) when the assets are large. Storage includes the OS. A transfer destination is not a backup: Figment does not back up your Mac, so keep your own copy of anything you cannot recreate.

How does the price compare with other hosts? CloudMac publishes an M4 / 16 GB / 256 GB plan at [$99.99/month and $999/year](https://cloudmac.org/pricing); its 256 GB row is marked "Reserve now" while 512 GB and 1 TB are "Fully reserved." MacStadium's smallest listed tier is M2.S at $109/month (8 GB / 256 GB) per [macstadium.com/pricing](https://macstadium.com/pricing), with support and a 99.99% uptime claim included. Figment's Apple Silicon Mac VM is $39 a month for 4GB RAM and 65GB with shared vCPUs, and the Dedicated M4 Pro is $349 a month for a whole Mac with 48GB RAM and 512GB, so compare memory, storage and whether the Mac is shared, not price alone.

**Related guides:**
- [Remote Mac contractor setup](/blog/mac-remote-desktop-contractor-setup)
- [Remote Mac latency test](/blog/mac-remote-desktop-latency-test)
- [GitHub Actions self-hosted runner on a Mac](/blog/mac-github-actions-self-hosted-runner)
