# How do I transfer files to a remote Mac?

> Copy files to and from a remote Mac with scp, rsync or Git over SSH, from Windows, Linux or macOS. Commands from the OpenSSH and rsync manuals.

- URL: https://remotemacmini.com/guides/how-to-transfer-files-to-a-remote-mac/
- Last updated: 2026-11-17
- Publisher: RemoteMacMini (https://remotemacmini.com)

**Quick answer — How do I transfer files to a remote Mac?**

Use the SSH connection you already have: `scp` for a few files, `rsync -avP` for folders you copy again and again, and Git for source code. All three run from Windows PowerShell, Linux or macOS. An **RemoteMacMini** Mac, from $76.50 a month, takes them on its dedicated IPv4 address with your SSH key.

**In brief**

- **scp**: simple copies; since OpenSSH 9.0 it uses the SFTP protocol by default.
- **rsync**: sends only the changed parts of files, resumes with `-P`, mirrors with `--delete`.
- **Git**: the right place for source code, and the copy that survives the rental.
- **From Windows**: OpenSSH Client is a Windows optional feature from Windows 10 build 1809.
- **Back up**: No backups are included: keep source code in a remote repository and copy anything that matters off the Mac.

## Which transfer method fits which job?

**Pick by what you move and how often.**

*Ways to move files to a RemoteMacMini remote Mac, with a sample command and best use*

| Method | Sample command | Best for |
| --- | --- | --- |
| scp | `scp -r ./assets <user>@<Mac IP>:~/project/` | One-off copies of files or a folder |
| rsync | `rsync -avP ./build/ <user>@<Mac IP>:~/build/` | Large folders copied often; resumable |
| rsync, mirror | `rsync -avP --delete ./site/ <user>@<Mac IP>:~/site/` | Keeping an exact copy; deletes extra files at the destination |
| Git | `git clone` or `git pull` on the Mac | Source code; history kept off the Mac |
| SFTP client | Any SFTP app pointed at the Mac's IP | Drag-and-drop from a desktop |
| Screen Sharing | Through the SSH tunnel | Seeing files, not moving many of them |

## How do you copy files with scp?

**`scp` copies files between hosts over SSH, with the same key and login as your session.** The OpenBSD manual, read on 17 November 2026, notes that scp has used the SFTP protocol by default since OpenSSH 9.0; `-O` brings back the legacy protocol for old servers.

- To the Mac: `scp app.zip <user>@<Mac IP>:~/`
- A folder: add `-r`, which copies directories recursively.
- From the Mac: `scp <user>@<Mac IP>:~/build/MyApp.ipa .`
- Another SSH port: `-P <port>` (capital P; lowercase `-p` keeps file times).

On Windows, run the same lines in PowerShell once OpenSSH Client is installed.

## Why use rsync for big or repeated copies?

**Because rsync's delta-transfer algorithm sends only the differences.** Re-sending a 5 GB folder where three files changed moves those three files' changes, not 5 GB. rsync must be installed on both ends.

- `-a` keeps permissions and times and recurses (the manual calls it archive mode).
- `-v` lists the files sent; `-P` keeps partial files and shows progress, so a broken transfer resumes.
- `--delete` removes files at the destination that no longer exist at the source.

Watch the trailing slash: `./build/` copies the folder's contents, while `./build` creates a `build` folder inside the destination.

## What happens to the files when the rental ends?

**They are erased three days after the end date.** When a rental ends and is not renewed, the Mac is kept 3 days, then its disk is erased and macOS reinstalled before anyone else rents it. No backups are included: keep source code in a remote repository and copy anything that matters off the Mac.

Keep code in a remote Git repository, and copy archives, signed builds and logs off the Mac with `rsync` before the last day. According to RemoteMacMini's survey of 17 November 2026, MyRemoteMac sells a backup disk for 15% of the plan price; RemoteMacMini has no such option. Pip's 256 GB disk fills quickly with simulators, so Graft (512 GB, $116.10 a month) or Bough (1 TB) suit large assets. See the [Screen Sharing guide](https://remotemacmini.com/guides/how-to-use-screen-sharing-from-windows/ "How do I use Mac Screen Sharing from Windows?"), the [SSH help page](https://remotemacmini.com/help/connect-with-ssh-and-screen-sharing/ "How do I connect to my RemoteMacMini Mac?") and the [prices](https://remotemacmini.com/pricing/ "How much does a RemoteMacMini Mac cost?").

## Transferring files to a remote Mac: common questions

### Does scp work from Windows?

Yes, from PowerShell once the OpenSSH Client feature is installed, which Microsoft documents for Windows 10 build 1809 and later.

### Why is scp slow for many small files?

Each file is sent whole. rsync handles large trees better and skips files that have not changed.

### Can I mount the Mac's disk on my computer?

An SFTP client or an SSHFS tool can show it like a folder over SSH. Nothing extra needs to be opened on the Mac.

### Are transfers encrypted?

Yes. scp, rsync over SSH and Git over SSH all travel inside the SSH connection.

### Does RemoteMacMini meter traffic?

No. One dedicated public IPv4 address per Mac, a 1 Gbit/s port, traffic not metered.

**Verdict**

- **Use scp for one-off copies, rsync for repeated ones, Git for code**: all three ride the SSH login of a RemoteMacMini Mac.
- **Copy what matters off the Mac before the end date**: there are no backups and the disk is erased after three days.

## Sources

1. [scp(1) manual](https://man.openbsd.org/scp) — OpenBSD (read 2026-11-17)
2. [ssh(1) manual](https://man.openbsd.org/ssh) — OpenBSD (read 2026-11-17)
3. [rsync(1) manual](https://download.samba.org/pub/rsync/rsync.1) — rsync project (read 2026-11-17)
4. [Get started with OpenSSH for Windows](https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse) — Microsoft Learn (read 2026-11-17)
5. [Pricing](https://myremotemac.com/pricing) — MyRemoteMac (read 2026-11-17)

**Room for your builds and assets** Graft: Apple M4, 10-core CPU, 10-core GPU, 24 GB, 512 GB SSD, $116.10 a month, traffic not metered. [Rent Graft for 1 month](https://remotemacmini.com/app/checkout/?plan=graft&term=1m&from=guides-how-to-transfer-files-to-a-remote-mac&lang=en) · [All guides](https://remotemacmini.com/guides/ "Which remote Mac guides does RemoteMacMini publish?")

---

RemoteMacMini: RemoteMacMini rents dedicated Apple Mac minis (M4 and M4 Pro) in data centres for building, signing and testing iOS and macOS apps: one whole Mac per customer, reached over SSH and Screen Sharing. Five plans cost $76.50 to $247.49 a month, each 10% under the lowest comparable offer read on 17 November 2026, paid in crypto with no ID document.
