# SSH File Transfer on Windows: 6 Methods That Work (2026)
URL: https://ctrlops.io/blog/ssh-file-transfer-windows
Author: Daxesh Italiya | Role: Co-Founder & CTO, TST Technology | Category: SSH & Remote Access | Published: 2026-12-04 | Tags: ssh, scp, sftp, windows, file transfer | Reading time: 18 min

> SSH file transfer on Windows, step by step: copy files to Linux with scp, sftp, WinSCP, PSCP, rsync in WSL or CtrlOps. Every command tested by hand.

SSH file transfer on Windows needs no extra software for most jobs. Use `scp` for one-off files and `sftp` to browse the server first. Pick WinSCP for a free drag-and-drop GUI and rsync through WSL for large or repeat syncs. For daily transfers and edits on several Linux servers, we pick CtrlOps.

> **Disclosure**
>
We build CtrlOps. We ranked it for daily work on several Linux servers, and we list its limits as clearly as everyone else's.

Small mistakes cause most failed transfers. You run `scp` inside your PuTTY session and a stray `localdir` file appears on the server. Or a build upload to `/var/www` stops with `Permission denied`. This guide is for freelance developers, startup CTOs and agency engineers who push files from a Windows laptop to Linux servers.

> **How we tested**
>

We ran every method by hand on November 6 and 7, 2026, and timed 3 tasks for each one (see the [timing section](#how-long-does-each-ssh-file-transfer-method-take-on-windows)).

- **Windows PC:** Windows 11 Home 25H2 (build 26200.9711)
- **Tools on Windows:** OpenSSH_for_Windows_9.5p2 with LibreSSL 3.8.2, WinSCP 6.7, PuTTY 0.85, WSL 2.6.1 with Ubuntu 26.04.1 LTS and rsync 3.4.1, CtrlOps 1.1.6
- **Server:** Ubuntu 26.04.1 LTS with OpenSSH 10.2p1 on an AWS EC2 t3a.medium in us-east-1
- **Last tested:** November 7, 2026

**Key takeaways**

- Windows already ships `scp` and `sftp`, so most SSH file transfers need zero installs.
- **One file, right now**: `scp` (built in, one command)
- **Browse before you copy**: `sftp` (built in, resumes with `reput` and `reget`)
- **Free drag and drop**: WinSCP (free, Windows only)
- **Large or repeat syncs**: rsync through WSL (sends only changed files)
- **Daily work on several Linux servers**: CtrlOps (upload, edit and run commands in one window)

---

## Which SSH file transfer method should you use on Windows?

To copy files from Windows to Linux, `scp` and `sftp` cost nothing and need no install on Windows 10 build 1809 or later. WinSCP adds a free GUI, PSCP suits PuTTY users, and rsync through WSL handles big repeat syncs.

CtrlOps fits daily work on several Linux servers. Match your job to the **Best for** column.

| Method | Best for | Install needed | Can resume | Price |
|---|---|---|---|---|
| scp | One-off files and folders | Run `ssh -V`. If missing, add OpenSSH Client | ✗ No | Free, per the [OpenSSH project](https://www.openssh.org/features.html) |
| sftp | Browsing first, then transferring | Same as scp | ✓ Yes: `reput`, `reget` | Same as scp |
| WinSCP | A free drag-and-drop GUI | Yes | On SFTP yes, on SCP no | [Free](https://winscp.net/eng/donate.php). Microsoft Store edition [$19.99](https://winscp.net/eng/docs/microsoft_store) |
| PSCP and PSFTP | You already use PuTTY | Yes | PSFTP yes: `reput`, `reget`. PSCP: none documented | [Free](https://www.chiark.greenend.org.uk/~sgtatham/putty/faq.html) |
| rsync through WSL | Large or repeat transfers | Yes: WSL, plus rsync on the server | ✓ Yes: `--partial` | [rsync](https://rsync.samba.org/) and [WSL](https://apps.microsoft.com/detail/9P9TQF7MRM4R) are free |
| CtrlOps | Daily transfers and edits on Linux servers, next to terminal work | Yes, from the Microsoft Store | ✗ No. Keep the tab open on big uploads | Free, $9/mo or $349 lifetime ([pricing](https://ctrlops.io/pricing)) |

---

## Is SSH the same as SCP and SFTP?

No. SSH is the connection. scp and sftp are tools and protocols that move files over it.

[OpenSSH 9.0](https://www.openssh.org/txt/release-9.0), released in April 2022, made `scp` use the SFTP protocol by default. The [`-O` flag](https://man.openbsd.org/scp) forces the old SCP protocol. This applies only if your client is 9.0 or later, and Microsoft publishes no OpenSSH version per Windows build. Our test machine printed `OpenSSH_for_Windows_9.5p2, LibreSSL 3.8.2`.

Three years before the 2022 switch, the project wrote:

> "The scp protocol is outdated, inflexible and not readily fixed."
>
> - OpenSSH project, [8.0 release notes](https://www.openssh.org/txt/release-8.0), April 2019

> **Check your version**
>
Run `ssh -V` first. On 9.0 or later, old-style double quoting around remote paths with spaces can make `scp` fail.

## What do you need before your first SSH file transfer on Windows?

You need the OpenSSH client on Windows and 3 things on the server: an account, the SSH port and the SFTP subsystem. The client needs Windows 10 build 1809 or later, or Windows 11.

Two checks confirm both sides: `ssh -V` in PowerShell and `sshd -T` on the server.

Check for the OpenSSH client in PowerShell first:

```powershell
# Print the OpenSSH client version
ssh -V
```

```text
OpenSSH_for_Windows_9.5p2, LibreSSL 3.8.2
```

![PowerShell running ssh -V in C:\Users\TSTTechnology\ssh-demo, printing OpenSSH_for_Windows_9.5p2, LibreSSL 3.8.2.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-01-ssh-version.webp)

If it prints a version, you can use `scp` and `sftp`. If PowerShell cannot find `ssh`, add OpenSSH Client.

On Windows 11, open Settings, then System, then [Optional features](https://learn.microsoft.com/en-us/windows/client-management/client-tools/add-remove-hide-features), select View features and add it. On older Windows 11, the page may be under Settings, then Apps. The download needs internet. Windows 10 was not tested.

![Windows Settings at System > Optional features, with a View features button, Optional features history and More Windows features.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-02-settings-optional-features.webp)

You can also use [Microsoft's commands](https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse) in PowerShell as Administrator.

```powershell
# Check for OpenSSH
Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH*'
```

```powershell
# Install the client
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
```

On the server, check the [SFTP subsystem](https://man.openbsd.org/sshd_config):

```bash
# Show the SFTP subsystem line
sudo sshd -T | grep -i subsystem
```

```text
subsystem sftp /usr/lib/openssh/sftp-server
```

![Server shell as ubuntu@ip-172-31-39-249 piping sudo sshd -T into grep -i subsystem, which returns subsystem sftp /usr/lib/openssh/sftp-server.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-03-sshd-subsystem.webp)

## Method 1: How do you transfer files with scp in PowerShell?

`scp` is the quickest way to copy files from Windows to a Linux server when you already know both paths, because it copies files to or from the server with one command.

It ships with the OpenSSH client, takes the source first and the destination second, and marks the server side with `user@host:`. It cannot resume, so use `sftp` or rsync for very large files.

### Upload a file from Windows to Linux

```powershell
# Copy one file to /tmp on the server
scp .\app.zip ubuntu@13.217.10.84:/tmp/
```

```text
app.zip                                       100% 6145KB   1.0MB/s   00:05
```

![PowerShell running scp .\app.zip ubuntu@13.217.10.84:/tmp/, with app.zip reaching 100% at 6145KB and 1.0MB/s in 00:05.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-04-scp-upload-file.webp)

### Upload a folder with `-r`

```powershell
# Copy a folder and its contents
scp -r .\site ubuntu@13.217.10.84:/tmp/
```

```text
.env                                          100%   95     0.3KB/s   00:00
style.css                                     100%   30     0.1KB/s   00:00
photo-1.jpg                                   100%   20KB  33.1KB/s   00:00
photo-10.jpg                                  100%  200KB 218.6KB/s   00:00
photo-11.jpg                                  100%  220KB 360.1KB/s   00:00
photo-12.jpg                                  100%  240KB 388.4KB/s   00:00
photo-2.jpg                                   100%   40KB  66.1KB/s   00:00
photo-3.jpg                                   100%   60KB  97.7KB/s   00:00
photo-4.jpg                                   100%   80KB 130.9KB/s   00:00
photo-5.jpg                                   100%  100KB 161.8KB/s   00:00
photo-6.jpg                                   100%  120KB 194.2KB/s   00:00
photo-7.jpg                                   100%  140KB 226.5KB/s   00:00
photo-8.jpg                                   100%  160KB 258.9KB/s   00:00
photo-9.jpg                                   100%  180KB 291.3KB/s   00:00
index.html                                    100%  153     0.5KB/s   00:00
app.js                                        100%   19     0.1KB/s   00:00
```

![PowerShell running scp -r .\site ubuntu@13.217.10.84:/tmp/, listing .env, style.css, photo-1 to photo-12.jpg, index.html and app.js at 100%.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-05-scp-upload-folder.webp)

### Copy a file from the server to Windows

To copy a file from the server to your local Windows machine, run `scp` on Windows, not inside the remote shell. There, the copy lands on the server, for example as a stray file named `localdir`.

This mistake is in a [Stack Overflow thread](https://stackoverflow.com/questions/30553428/copying-files-from-server-to-local-computer-using-ssh) with 896,939 views (Stack Exchange API, checked November 5, 2026). We reproduced it: run inside the server shell, `scp` showed a normal progress line, gave no error and left a file named `localdir` on the server.

![Server shell as deploy@web01 where scp deploy@localhost:/var/log/app.log localdir saves a file named localdir that file reports as ASCII text.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-06-scp-run-inside-server-localdir.webp)

```powershell
# Run on Windows. Copies to the current folder
scp ubuntu@13.217.10.84:/var/log/syslog .
```

```text
syslog                                        100% 3859KB   1.0MB/s   00:03
```

![PowerShell running scp ubuntu@13.217.10.84:/var/log/syslog . to download syslog into the current folder, finishing at 100% and 3859KB.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-07-scp-download-file.webp)

### Use a custom port

[`scp` takes capital `-P`](https://man.openbsd.org/scp), while [`ssh` takes lowercase `-p`](https://man.openbsd.org/ssh). On `scp`, lowercase `-p` preserves times and modes.

```powershell
# Connect on port 2222
scp -P 2222 .\app.zip ubuntu@13.217.10.84:/tmp/
```

```text
app.zip                                       100% 6145KB   1.7MB/s   00:03
```

![PowerShell running scp -P 2222 .\app.zip ubuntu@13.217.10.84:/tmp/ to upload over port 2222, with app.zip at 100% and 6145KB.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-08-scp-custom-port.webp)

### Handle Windows paths

Quote any path with spaces, and use forward slashes on the Linux side. A lone `.` means the current folder. In PowerShell, write [`$env:USERPROFILE`](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_environment_variables), because `%USERPROFILE%` belongs to Command Prompt.

```powershell
# Upload a file with a space in its name
scp "$env:USERPROFILE\Desktop\my file.zip" ubuntu@13.217.10.84:/tmp/
```

```text
my file.zip                                   100% 6145KB   1.8MB/s   00:03
```

![PowerShell running scp "$env:USERPROFILE\Desktop\my file.zip" ubuntu@13.217.10.84:/tmp/ with the spaced path quoted, my file.zip at 100%.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-09-scp-path-with-space.webp)

![PowerShell using scp to copy /var/log/syslog from 13.217.10.84 to $env:USERPROFILE\Desktop, then Test-Path on the file returning True.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-10-scp-download-to-desktop.webp)

**Build the exact scp or rsync command**
Enter your paths, port and key, then copy a command that works the first time. Free browser tool. CtrlOps itself is free for up to 2 servers, no credit card.

## Method 2: How do you use the sftp command on Windows?

`sftp` opens an interactive session on the server, so you can look around before you move anything. You list folders with `ls`, upload with `put`, download with `get` and set permissions with `chmod`.

It ships with the same OpenSSH client as `scp`, so it needs no extra install on Windows 10 build 1809 or later.

```powershell
# Open a session. Add -P 2222 for a custom port
sftp ubuntu@13.217.10.84
```

### Browse and transfer

Run these inside the session:

| Command | What it does |
|---|---|
| `ls`, `lls` | List the server folder, list the local folder |
| `cd`, `lcd` | Change the server folder, change the local folder |
| `put app.zip` | Upload a file |
| `get app.log` | Download a file |
| `put -r site`, `get -r site` | Upload or download a folder |
| `chmod 644 app.zip` | Set permissions on the server |
| `bye` | End the session |

```text
Connected to 13.217.10.84.
sftp> ls
app.log   big.zip   stacks
sftp> lls
 Volume in drive C is Windows
 Volume Serial Number is 42C6-1821

 Directory of C:\Users\TSTTechnology\ssh-demo

07-11-26  11:46 AM              .
07-11-26  11:38 AM              ..
06-11-26  06:30 PM         6,292,533 app.zip
07-11-26  11:41 AM        20,971,520 big.zip
06-11-26  06:30 PM         6,292,533 file.zip
06-11-26  06:30 PM                40 index.html
07-11-26  11:39 AM              site
07-11-26  11:45 AM         3,951,827 syslog
07-11-26  11:39 AM        52,436,923 task-a-50mb.zip
07-11-26  11:39 AM              test-folder
               6 File(s)     89,945,376 bytes
               4 Dir(s)  39,719,243,776 bytes free
sftp> put app.zip
Uploading app.zip to /home/ubuntu/app.zip
app.zip                                       100% 6145KB   1.8MB/s   00:03
sftp> get app.log
Fetching /home/ubuntu/app.log to app.log
app.log                                       100%   29KB  30.3KB/s   00:00
sftp> chmod 644 app.zip
Changing mode on /home/ubuntu/app.zip
sftp> bye
```

### Resume with `reput` and `reget`

`reput` continues an upload and `reget` continues a download. Both [assume the partial copy matches the source](https://man.openbsd.org/sftp), so compare hashes afterward. Inside the session, run `reput big.zip` or `reget big.zip`.

![PowerShell sftp session to ubuntu@13.217.10.84 running ls, lls, put app.zip, get app.log, chmod 644 app.zip and bye.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-11-sftp-put-get-session.webp)

![PowerShell sftp session where big.zip is 8388608 bytes, reput big.zip resumes the upload, and ls -l then shows 20971520 bytes.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-12-sftp-reput-resume.webp)

## Method 3: How do you transfer files with WinSCP?

WinSCP is the best free GUI for moving files between Windows and Linux because it gives you two panes and drag and drop over SFTP at no cost.

The latest version is [6.7, from October 14, 2026](https://winscp.net/eng/news.php). It also covers FTP, FTPS, SCP, WebDAV and S3, with folder sync and scripting.

Follow these [login steps](https://winscp.net/eng/docs/ui_login) to connect over SFTP:

1. Select **New Site** in the tree on the left.

2. Set **File protocol** to SFTP. SFTP is already selected on a new site; the list also offers SCP, FTP, WebDAV and Amazon S3.

   ![WinSCP Login dialog with the File protocol dropdown open, listing SFTP, SCP, FTP, WebDAV and Amazon S3, and port number 22.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-13-winscp-file-protocol-list.webp)

3. Type the server name or IP address in **Hostname**. Change **Port number** only if the server does not use 22.

4. Enter your **Username** and **Password**.

   ![WinSCP Login dialog set to SFTP with hostname 13.217.10.84, port 22, username ubuntu and an empty password field.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-14-winscp-login-sftp.webp)

5. Select **Login**, or **Save** if you connect often.

6. Check the fingerprint at the [host key prompt](https://winscp.net/eng/docs/message_host_key): "Continue connecting to an unknown server and add its host key to a cache?" Select **Accept** if the fingerprint is correct, or **Cancel** if it is wrong or you do not know it. The arrow next to **Accept** holds the other choices, such as **Connect Once**.

   ![WinSCP Warning asking to add the host key for 13.217.10.84 (port 22) to the cache, with the ssh-ed25519 fingerprint and an Accept button.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-15-winscp-host-key-prompt.webp)

7. Drag files from File Explorer to the remote panel.

   ![WinSCP Upload dialog for file 'site' with remote directory /home/ubuntu/\*.\*, transfer type Binary, and OK, Cancel and Help buttons.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-16-winscp-upload-dialog.webp)

   ![WinSCP connected to ubuntu@13.217.10.84 with a 78% Uploading dialog sending ssh-demo\site\img\photo-7.jpg to /home/ubuntu/.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-17-winscp-upload-progress.webp)

   ![WinSCP after the upload, with the site folder now in the remote /home/ubuntu/ pane next to stacks, app.log, app.zip and big.zip.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-18-winscp-after-upload.webp)

Comparing WinSCP with CtrlOps? See [CtrlOps vs WinSCP](https://ctrlops.io/compare/ctrlops-vs-winscp).

### Use a key in WinSCP

WinSCP's [authentication page](https://winscp.net/eng/docs/ui_login_authentication) says: "The file must be in PuTTY format." If you select an OpenSSH key, WinSCP offers to convert it.

![WinSCP Advanced Site Settings on SSH > Authentication, with the Private key file field set to C:\keys\server.ppk.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-19-winscp-private-key-ppk.webp)

### Resume a WinSCP transfer

[Resume](https://winscp.net/eng/docs/resume) works on SFTP, not on SCP.

## Method 4: How do you use PuTTY PSCP and PSFTP?

If you already use PuTTY, PSCP and PSFTP are its command-line file transfer tools. Both come in the MSI installer and as separate `.exe` files on the [download page](https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html).

The latest PuTTY is 0.85, from August 16, 2026. [The project says](https://www.chiark.greenend.org.uk/~sgtatham/putty/) it "fixes multiple security issues", so update older copies.

### Copy files with PSCP

```bat
rem Upload a folder on port 2222 with a PPK key
pscp -r -P 2222 -i C:\keys\server.ppk site ubuntu@13.217.10.84:/tmp/
```

```text
The host key is not cached for this server:
  13.217.10.84 (port 2222)
You have no guarantee that the server is the computer you
think it is.
The server's ssh-ed25519 key fingerprint is:
  ssh-ed25519 255 SHA256:GUwYN/hqAlRRxER/V+0pa9+30CbBCACnczlWZRhI79c
If you trust this host, enter "y" to add the key to PSCP's
cache and carry on connecting.
If you want to carry on connecting just once, without adding
the key to the cache, enter "n".
If you do not trust this host, press Return to abandon the
connection.
Store key in cache? (y/n, Return cancels connection, i for more info) y
.env                      | 0 kB |   0.1 kB/s | ETA: 00:00:00 | 100%
style.css                 | 0 kB |   0.0 kB/s | ETA: 00:00:00 | 100%
photo-1.jpg               | 20 kB |  20.0 kB/s | ETA: 00:00:00 | 100%
photo-10.jpg              | 200 kB | 200.0 kB/s | ETA: 00:00:00 | 100%
photo-11.jpg              | 220 kB | 220.0 kB/s | ETA: 00:00:00 | 100%
photo-12.jpg              | 240 kB | 240.0 kB/s | ETA: 00:00:00 | 100%
photo-2.jpg               | 40 kB |  40.0 kB/s | ETA: 00:00:00 | 100%
photo-3.jpg               | 60 kB |  60.0 kB/s | ETA: 00:00:00 | 100%
photo-4.jpg               | 80 kB |  80.0 kB/s | ETA: 00:00:00 | 100%
photo-5.jpg               | 100 kB | 100.0 kB/s | ETA: 00:00:00 | 100%
photo-6.jpg               | 120 kB | 120.0 kB/s | ETA: 00:00:00 | 100%
photo-7.jpg               | 140 kB | 140.0 kB/s | ETA: 00:00:00 | 100%
photo-8.jpg               | 160 kB | 160.0 kB/s | ETA: 00:00:00 | 100%
photo-9.jpg               | 180 kB | 180.0 kB/s | ETA: 00:00:00 | 100%
index.html                | 0 kB |   0.1 kB/s | ETA: 00:00:00 | 100%
app.js                    | 0 kB |   0.0 kB/s | ETA: 00:00:00 | 100%
```

```bat
rem Download to the current folder
pscp -i C:\keys\server.ppk ubuntu@13.217.10.84:/var/log/syslog .
```

```text
The host key is not cached for this server:
  13.217.10.84 (port 22)
...
Store key in cache? (y/n, Return cancels connection, i for more info) y
syslog                    | 3878 kB | 1293.0 kB/s | ETA: 00:00:00 | 100%
```

![Command Prompt running pscp -i C:\keys\server.ppk ubuntu@13.217.10.84:/var/log/syslog ., storing the host key with y, and syslog at 100%.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-20-pscp-download.webp)

In [PSCP](https://the.earth.li/~sgtatham/putty/latest/htmldoc/Chapter5.html), `-P` sets the port. Lowercase `-p` preserves timestamps, so do not mix them up. The `-i` flag needs a key in PPK format. PSCP tries SFTP first, then falls back to SCP.

If Command Prompt shows `'pscp' is not recognized as an internal or external command, operable program or batch file.`, add the PuTTY folder to PATH or run PSCP from that folder. The 0.85 MSI added `C:\Program Files\PuTTY\` to PATH in our install, but a Command Prompt that was already open still showed the error until we opened a new one.

![Command Prompt where pscp -V and a pscp -r -P 2222 upload both fail with 'pscp' is not recognized as an internal or external command.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-21-pscp-not-recognized.webp)

![Command Prompt running pscp -r -P 2222 -i C:\keys\server.ppk site ubuntu@13.217.10.84:/tmp/, storing the host key and uploading every file at 100%.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-22-pscp-upload.webp)

### Use PSFTP for a session

PSFTP works like `sftp`. In our test, running `psftp` and then `open ubuntu@13.217.10.84 2222` crashed PSFTP 0.85 every time (Windows logged an access violation, `0xc0000005`). Giving the host on the command line worked. `-P` sets the port:

```bat
psftp -P 2222 -i C:\keys\server.ppk ubuntu@13.217.10.84
```

```text
Using username "ubuntu".
Remote working directory is /home/ubuntu
psftp> pwd
Remote directory is /home/ubuntu
psftp> put app.zip
local:app.zip => remote:/home/ubuntu/app.zip
psftp> chmod 644 app.zip
psftp> reput big.zip
reput: restarting at file position 8388608
local:big.zip => remote:/home/ubuntu/big.zip
psftp> quit
```

![Command Prompt psftp session on port 2222 with server.ppk running pwd, put app.zip, chmod 644 app.zip, reput big.zip from position 8388608 and quit.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-23-psftp-session.webp)

Inside the session, use `put -r`, `reput`, `reget` and `chmod`. `reput` and `reget` assume the remote file or folder has not changed ([Chapter 6](https://the.earth.li/~sgtatham/putty/latest/htmldoc/Chapter6.html)).

### Keep passwords off the command line

The [PuTTY manual](https://the.earth.li/~sgtatham/putty/latest/htmldoc/Chapter3.html) calls `-pw` "**NOT SECURE**" if anybody else uses the same computer. It points you to `-pwfile` instead.

Moving off PuTTY later? Our [PuTTY alternatives for Windows](https://ctrlops.io/blog/putty-alternatives-windows) compares the options.

## Method 5: How do you use rsync through WSL for large or repeat transfers?

rsync is an incremental file transfer tool, so a repeat sync sends only the files that changed.

On Windows, run it inside WSL (Windows Subsystem for Linux), with rsync installed on the server too. With `--partial`, a stopped transfer keeps its partial file, so the next run has less left to send.

### Install WSL and rsync

[Microsoft's install command](https://learn.microsoft.com/en-us/windows/wsl/install) needs Windows 10 version 2004 (build 19041) or Windows 11, later than the OpenSSH minimum.

```powershell
# Install WSL
wsl --install
```

rsync [must be on both machines](https://download.samba.org/pub/rsync/rsync.1). In WSL, check first, because Ubuntu's image may already have it:

```bash
# Check rsync in WSL
rsync --version
```

```text
rsync  version 3.4.1  protocol version 32
Copyright (C) 1996-2025 by Andrew Tridgell, Wayne Davison, and others.
Web site: https://rsync.samba.org/
Capabilities:
    64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
    socketpairs, symlinks, symtimes, hardlinks, hardlink-specials,
    hardlink-symlinks, IPv6, atimes, batchfiles, inplace, append, ACLs,
    xattrs, optional secluded-args, iconv, prealloc, stop-at, no crtimes
Optimizations:
    SIMD-roll, no asm-roll, openssl-crypto, no asm-MD5
Checksum list:
    xxh128 xxh3 xxh64 (xxhash) md5 md4 sha1 none
Compress list:
    zstd lz4 zlibx zlib none
Daemon auth list:
    sha512 sha256 sha1 md5 md4

rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.
```

![WSL Ubuntu terminal running rsync --version, showing rsync version 3.4.1 protocol version 32 with its capabilities and checksum list.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-24-rsync-version-wsl.webp)

On the server, run `sudo apt install rsync` on Ubuntu and Debian, or `sudo dnf install rsync` on RHEL, Rocky and Fedora.

### Run the transfer from /mnt/c

WSL mounts your `C:` drive at `/mnt/c`. Microsoft [advises against working across file systems](https://learn.microsoft.com/en-us/windows/wsl/filesystems), mainly for speed.

> **Check file permissions**
>
Files from `/mnt/c` can reach the server with wide permissions, because Windows files [show the same bits](https://learn.microsoft.com/en-us/windows/wsl/file-permissions) for user, group and other. Set them with `--chmod=D755,F644`. Our result: `stat -c '%a %n'` on the server showed `777` for the folder and `index.html` copied without `--chmod`, and `755` and `644` with `--chmod=D755,F644`.

![WSL Ubuntu terminal using stat after rsync -a: /tmp/site-nochmod and its index.html are 777, while /tmp/site is 755 and its index.html 644.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-25-rsync-permissions-chmod.webp)

Start with a dry run. The trailing slash on `site/` copies the folder's contents, not the folder by name.

```bash
# Preview, changes nothing
rsync -av --dry-run --chmod=D755,F644 /mnt/c/Users/TSTTechnology/ssh-demo/site/ ubuntu@13.217.10.84:/tmp/site/
```

```text
sending incremental file list
created directory /tmp/site
./
.env
index.html
css/
css/style.css
img/
img/photo-1.jpg
img/photo-10.jpg
img/photo-11.jpg
img/photo-12.jpg
img/photo-2.jpg
img/photo-3.jpg
img/photo-4.jpg
img/photo-5.jpg
img/photo-6.jpg
img/photo-7.jpg
img/photo-8.jpg
img/photo-9.jpg
js/
js/app.js

sent 476 bytes  received 111 bytes  130.44 bytes/sec
total size is 1,597,737  speedup is 2,721.87 (DRY RUN)
```

![WSL Ubuntu terminal running rsync -av --dry-run --chmod=D755,F644 on the site folder to 13.217.10.84:/tmp/site/, ending with (DRY RUN).](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-26-rsync-dry-run.webp)

```bash
# Transfer, keep partial files, show progress
rsync -a --partial --progress --chmod=D755,F644 /mnt/c/Users/TSTTechnology/ssh-demo/site/ ubuntu@13.217.10.84:/tmp/site/
```

```text
sending incremental file list
./
.env
             95 100%    0.00kB/s    0:00:00 (xfr#1, to-chk=18/20)
index.html
            153 100%   74.71kB/s    0:00:00 (xfr#2, to-chk=17/20)
css/
css/style.css
             30 100%    2.09kB/s    0:00:00 (xfr#3, to-chk=13/20)
img/
img/photo-1.jpg
         20,480 100%    1.15MB/s    0:00:00 (xfr#4, to-chk=12/20)
img/photo-10.jpg
        204,800 100%    9.30MB/s    0:00:00 (xfr#5, to-chk=11/20)
img/photo-11.jpg
        225,280 100%    8.26MB/s    0:00:00 (xfr#6, to-chk=10/20)
img/photo-12.jpg
        245,760 100%    7.32MB/s    0:00:00 (xfr#7, to-chk=9/20)
img/photo-2.jpg
         40,960 100%    1.15MB/s    0:00:00 (xfr#8, to-chk=8/20)
img/photo-3.jpg
         61,440 100%    1.58MB/s    0:00:00 (xfr#9, to-chk=7/20)
img/photo-4.jpg
         81,920 100%    1.95MB/s    0:00:00 (xfr#10, to-chk=6/20)
img/photo-5.jpg
        102,400 100%    2.22MB/s    0:00:00 (xfr#11, to-chk=5/20)
img/photo-6.jpg
        122,880 100%    2.44MB/s    0:00:00 (xfr#12, to-chk=4/20)
img/photo-7.jpg
        143,360 100%    2.58MB/s    0:00:00 (xfr#13, to-chk=3/20)
img/photo-8.jpg
        163,840 100%    2.65MB/s    0:00:00 (xfr#14, to-chk=2/20)
img/photo-9.jpg
        184,320 100%    2.66MB/s    0:00:00 (xfr#15, to-chk=1/20)
js/
js/app.js
             19 100%    0.27kB/s    0:00:00 (xfr#16, to-chk=0/20)
```

If the transfer stops, run the same command again. `--partial` keeps the partial file, so the next run should finish faster.

![WSL Ubuntu terminal running rsync -a --partial --progress --chmod=D755,F644 to 13.217.10.84:/tmp/site/, each file at 100% down to to-chk=0/20.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-27-rsync-progress.webp)

### Keep your key in WSL

Keep your private key in WSL's `~/.ssh`, not under `/mnt/c`, because [`ssh` ignores a key that others can access](https://man.openbsd.org/ssh).

## Method 6: How do you transfer files with the CtrlOps File Manager?

CtrlOps fits daily transfers on several Linux servers because files, edits and the terminal share one SSH connection. Its visual File Manager lets you browse, search the current folder, upload, delete and edit anything your SSH user can access. You skip a second app, a second login and typed paths on both sides.

CtrlOps is a local-first desktop app for AI-assisted Linux server management, on Windows, macOS and Linux desktops. The [File Manager](https://ctrlops.io/features/file-manager) works over the same SSH connection as the terminal, with no separate host setup to maintain.

1. After you connect to the server, open **File Manager** in the left menu.

   ![CtrlOps Connect to Server dialog with Quick Connect ssh ubuntu@13.217.10.84, server name Ubuntu VPS, port 22, username ubuntu and Connect SSH.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-28-ctrlops-connect-to-server.webp)

2. Drag files from Explorer onto the file list to upload them.

   ![CtrlOps File Manager for Ubuntu VPS at /home/ubuntu with a Drop to upload overlay saying files and folders will be uploaded to /home/ubuntu.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-29-ctrlops-drag-and-drop.webp)

   ![CtrlOps File Manager with an Uploading 2 items toast and a Transferring 2 items panel listing task-a-50mb.zip and file.zip as Preparing.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-30-ctrlops-upload-progress.webp)

3. Use the upload button in the toolbar and choose **Folder** to upload a folder.

   ![CtrlOps File Manager at /home/ubuntu with the green upload button menu open, offering Files and Folder options.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-31-ctrlops-upload-folder-menu.webp)

   ![CtrlOps File Manager with a Transfers complete panel for test-folder (File 300/300, 300 files, 4.8 MB) and test-folder now in /home/ubuntu.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-32-ctrlops-folder-upload-complete.webp)

4. Open a file such as `.env`, change the line and select **Save**.

   ![CtrlOps editor open on .env marked Unsaved, with APP_ENV=production, APP_DEBUG=false, APP_URL, DB_HOST=127.0.0.1 and DB_PORT=5432.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-33-ctrlops-edit-env.webp)

   ![CtrlOps File Manager in /home/ubuntu/site showing a File saved toast, with .env at 93 B updated just now beside css, img, js and index.html.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-34-ctrlops-edit-env-saved.webp)

CtrlOps can also expand a ZIP on the server. The [File Manager docs](https://ctrlops.io/docs/modules/file-manager) cover every toolbar button.

the file manager feature is the one nobody talks about but everyone needs. separate SFTP client is such a pain when you just want to edit one config file.

**Try the File Manager on your server**
Free for up to 2 servers, no credit card.

## How do you upload to root-owned folders like /var/www?

Upload to `/tmp`, then move the file into place with `sudo` and set its owner.

This keeps your normal SSH user for transfers and keeps root login off. It takes 3 commands plus a backup, and the backup gives you a one-line undo if the new file breaks the site.

Do not enable root SSH just for transfers.

> **Back up first**
>
`mv` overwrites a file with the same name. Back up the old file first, and keep the undo command from this section ready.

```bash
# Back up the old file
sudo cp -a /var/www/app/index.html /var/www/app/index.html.bak
```

```bash
# Move the upload into place
sudo mv /tmp/index.html /var/www/app/
```

```bash
# Set the owner. Use your web server user
sudo chown www-data:www-data /var/www/app/index.html
```

```bash
# Undo: restore the backup
sudo mv /var/www/app/index.html.bak /var/www/app/index.html
```

![Server shell as deploy@web01 backing up /var/www/app/index.html, sudo mv /tmp/index.html into place, chown www-data, then restoring the backup.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-35-var-www-sudo-move.webp)

On Ubuntu and Debian, the web server user is `www-data`. We confirmed it on Ubuntu 26.04.1 with `getent passwd www-data`.

On RHEL, Rocky and Fedora, it is `nginx` or `apache`, depending on the web server. Then [fix the SELinux label](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/using_selinux/troubleshooting-problems-related-to-selinux_using-selinux). We did not test this step on a RHEL-family server in this round.

```bash
# Moved files keep the wrong label
sudo restorecon -Rv /var/www/app/
```

Need help reading permission bits like `644`? The [chmod calculator](https://ctrlops.io/tools/chmod-calculator) translates them.

## How do you shorten SSH file transfers with keys and ~/.ssh/config?

Two one-time steps shorten every transfer. Replace the password with an Ed25519 key, then replace `user@host` with a `Host` alias in your SSH config.

After that, `scp app.zip prod:/tmp/` uploads with no password, user name or host to type. Each change takes one line to undo.

### Use a key

Create a key with [`ssh-keygen`](https://man.openbsd.org/ssh-keygen). Microsoft's [key guide](https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_keymanagement) uses Ed25519 as the default.

```powershell
# Create an Ed25519 key
ssh-keygen -t ed25519
```

```text
Generating public/private ed25519 key pair.
Enter file in which to save the key (C:\Users\TSTTechnology/.ssh/id_ed25519): C:\Users\TSTTechnology/.ssh/id_ed25519_demo
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in C:\Users\TSTTechnology/.ssh/id_ed25519_demo
Your public key has been saved in C:\Users\TSTTechnology/.ssh/id_ed25519_demo.pub
The key fingerprint is:
SHA256:7T9jNEhZ9QM2xFoqnumTp4BDaFfRayq1b6cV1h0BNbE tsttechnology@TST
```

We already had an `id_ed25519`, so at the file prompt we typed a new name, `id_ed25519_demo`, instead of overwriting it.

![PowerShell running ssh-keygen -t ed25519, saving the key as C:\Users\TSTTechnology/.ssh/id_ed25519_demo and printing its SHA256 fingerprint.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-36-ssh-keygen.webp)

Install the public key from PowerShell, because `ssh-copy-id` is not in [Microsoft's command list](https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh-overview). Our `C:\Windows\System32\OpenSSH` folder had no `ssh-copy-id` either.

```powershell
# Add the public key to the server
Get-Content $env:USERPROFILE\.ssh\id_ed25519_demo.pub | ssh ubuntu@13.217.10.84 "mkdir -p ~/.ssh && chmod 700 ~/.ssh && cat >> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys"
```

To undo, remove that line from `~/.ssh/authorized_keys` on the server. Then point `scp` at the key:

```powershell
# Upload with the key
scp -i $env:USERPROFILE\.ssh\id_ed25519_demo .\app.zip ubuntu@13.217.10.84:/tmp/
```

```text
app.zip                                       100% 6145KB   1.6MB/s   00:03
```

![PowerShell piping id_ed25519_demo.pub over ssh into ~/.ssh/authorized_keys on 13.217.10.84, then scp -i with that key uploading app.zip.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-37-ssh-key-install-and-upload.webp)

Our [SSH key management best practices](https://ctrlops.io/blog/ssh-key-management-best-practices) cover passphrases and key rotation.

### Add a Host alias

Add this block to `C:\Users\you\.ssh\config`. To undo, delete the block.

```ssh-config
Host prod
    HostName 13.217.10.84
    User ubuntu
    IdentityFile ~/.ssh/id_ed25519_demo
```

Now `prod` covers the host, user and key:

```powershell
# Upload with the alias
scp app.zip prod:/tmp/
```

```text
app.zip                                       100% 6145KB   1.8MB/s   00:03
```

![PowerShell running scp app.zip prod:/tmp/ with an SSH config alias named prod, and app.zip reaching 100% at 6145KB.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-38-ssh-config-alias.webp)

**Generate your SSH config block**
Fill in host, user, port and key path, then paste the result into your config file. Free tool. CtrlOps is free for up to 2 servers, no credit card.

### Convert a key for PuTTY

PSCP and PSFTP need a PPK key. Convert your OpenSSH key in [PuTTYgen](https://the.earth.li/~sgtatham/putty/latest/htmldoc/Chapter8.html):

1. Open the **Conversions** menu, select **Import** and pick your OpenSSH private key. PuTTYgen confirms the import.

   ![PuTTYgen Notice: successfully imported foreign key (OpenSSH SSH-2 private key, new format), use Save private key to store it in PuTTY format.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-39-puttygen-import-notice.webp)

2. Check the loaded key: PuTTYgen shows its public key and comment.

   ![PuTTY Key Generator with an ssh-ed25519 public key loaded, key comment tsttechnology@TST, empty passphrase fields and a Save private key button.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-40-puttygen-key-loaded.webp)

3. Select **Save private key** to save it as a PPK file. If the key has no passphrase, PuTTYgen asks you to confirm first.

   ![PuTTYgen Warning asking Are you sure you want to save this key without a passphrase to protect it?, with Yes and No buttons.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-41-puttygen-no-passphrase-warning.webp)

The free [OpenSSH to PPK converter](https://ctrlops.io/tools/openssh-to-ppk-converter) does the same in your browser.

## How do you verify an SSH file transfer worked?

Hash the file on both sides and compare the two values. If they match, every byte arrived. [`Get-FileHash`](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/get-filehash) uses SHA256 by default, the same algorithm as `sha256sum`, so the outputs compare directly. Letter case does not matter, because Windows prints uppercase and Linux prints lowercase.

```powershell
# Hash on Windows
Get-FileHash .\file.zip
```

```text
Algorithm       Hash                                                                   Path
---------       ----                                                                   ----
SHA256          7F9D3C8BF9A0DF23E5DB4E812B7092E6AF2B25AB08898C70D8E44534291EFED4       C:\Users\TSTTechnolog...
```

![PowerShell running Get-FileHash .\file.zip, returning SHA256 7F9D3C8BF9A0DF23E5DB4E812B7092E6AF2B25AB08898C70D8E44534291EFED4.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-42-hash-windows.webp)

```bash
# Hash on the server
sha256sum /tmp/file.zip
```

```text
7f9d3c8bf9a0df23e5db4e812b7092e6af2b25ab08898c70d8e44534291efed4  /tmp/file.zip
```

![Server shell running sha256sum /tmp/file.zip, returning 7f9d3c8bf9a0df23e5db4e812b7092e6af2b25ab08898c70d8e44534291efed4.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-43-hash-server.webp)

## How long does each SSH file transfer method take on Windows?

PSCP uploaded the 50 MB zip fastest (18.2 seconds) and CtrlOps slowest (30.3 seconds). For the 300-file folder, rsync (10.6 seconds) and CtrlOps (18.4 seconds) beat scp, sftp, WinSCP and PSCP (288.7 to 369.3 seconds). The log download took 8.2 to 14.0 seconds with every method. CtrlOps needed one pasted `ssh` string to set up.

We timed 3 tasks for each method: same files, same network, key login, median of 3 runs.

- **Task A:** upload a 50 MB zip to `/tmp/`.
- **Task B:** upload a 300-file folder, 4.8 MB in total, to `/tmp/test-folder/`.
- **Task C:** download one log file, `/var/log/syslog` (about 3.9 MB).

Server: AWS EC2 t3a.medium (2 vCPU, 4 GB) in us-east-1, Ubuntu 26.04.1 LTS. Date: November 7, 2026. Network: about 2.5 MB/s upload to the server, measured from Task A.

| Method | Setup steps before the first transfer | Task A (seconds) | Task B (seconds) | Task C (seconds) |
|---|---|---|---|---|
| scp | None. Built into Windows 11 | 20.5 | 369.3 | 10.6 |
| sftp | None. Built into Windows 11 | 23.0 | 288.7 | 12.9 |
| WinSCP | 3: install, enter host and user, set the PPK key under Advanced | 22.5 | 353.2 | 10.7 |
| PSCP | 3: install PuTTY, convert the key to PPK, accept the host key | 18.2 | 364.9 | 8.2 |
| rsync through WSL | 3: install WSL and Ubuntu, answer the first-run prompt, copy the key into WSL `~/.ssh` | 21.6 | 10.6 | 14.0 |
| CtrlOps File Manager | 2: install, paste `ssh ubuntu@13.217.10.84` into New connection | 30.3 | 18.4 | 13.8 |

These numbers come from one network, one server and one day, so they do not prove a method is faster everywhere.

**See every File Manager feature**
Upload folders, edit files in place, expand ZIPs on the server and set permissions with checkboxes. Free for up to 2 servers, no credit card. Or pay once: $349 Lifetime, updates for life.

## How do you fix common SSH file transfer errors on Windows?

Seven errors cause most failed SSH file transfers on Windows, and each has a short fix. The most common is running `scp` inside the remote shell instead of in PowerShell on your PC. Match the exact error text in the first column, then apply the fix in the last column.

| Error | Cause | Fix |
|---|---|---|
| `'pscp' is not recognized as an internal or external command, operable program or batch file.` | The PuTTY folder is not on PATH, or the Command Prompt was opened before PuTTY was installed | Add `C:\Program Files\PuTTY\` to PATH, or open a new Command Prompt |
| `ubuntu@13.217.10.84: Permission denied (publickey).` | The server did not accept your key | Check the `-i` path and the server's `authorized_keys` file |
| `WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!` ... `Host key verification failed.` | The server's key no longer matches your `known_hosts` file | First check why the key changed. Only then run `ssh-keygen -R host` |
| `ssh: connect to host 10.255.255.1 port 22: Connection timed out` | The host or port cannot be reached | Check the host, the port and the firewall |
| `C:\WINDOWS\System32\OpenSSH\scp.exe: dest open "/var/www/index.html": Permission denied` | Your SSH user cannot write to that folder | Upload to `/tmp`, then move the file with `sudo` and set its owner |
| No error. The progress line looks normal, but a file named `localdir` appears on the server | You ran `scp` on the server, not on Windows | Exit the remote shell and run it in PowerShell. Remove the stray file on the server |
| `subsystem request failed on channel 0` then `C:\WINDOWS\System32\OpenSSH\scp.exe: Connection closed` | The server has no SFTP subsystem, and new `scp` needs it | Use `scp -O` as the fallback |

![PowerShell scp .\app.zip prod:/tmp/ failing with WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!, Host key verification failed.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-44-error-host-key-changed.webp)

![PowerShell running ssh-keygen -R localhost to clear old known_hosts entries, then scp .\app.zip prod:/tmp/ accepting the new key and uploading.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-45-error-host-key-fixed.webp)

![PowerShell scp -P 2223 to deploy@localhost failing with subsystem request failed on channel 0, then scp -O on the same port uploading app.zip.](https://cdn.ctrlops.io/blog/ssh-file-transfer-windows/ssh-file-transfer-windows-46-error-subsystem-scp-O.webp)

Still stuck on the connection itself? The [connection issues guide](https://ctrlops.io/docs/troubleshooting/connection-issues) walks through each check.

## Which SSH file transfer method should you pick on Windows?

Pick by how often you transfer and how many servers you touch. Use `scp` for one-off copies and `sftp` when you want to look before you move. WinSCP suits a free GUI, PSCP suits PuTTY users and rsync suits large repeat syncs. CtrlOps is the best pick in 2 of these 9 situations.

| Your situation | Best pick | Runner-up |
|---|---|---|
| One file, one time | `scp` | `sftp` |
| You want to browse the server before copying | `sftp` | WinSCP |
| Free GUI on Windows | WinSCP | PSFTP |
| You already use PuTTY `.ppk` keys | PSCP | WinSCP |
| Large folder you sync often | rsync through WSL | `sftp` with `reput` |
| Locked-down work PC with no installs | `scp` | `sftp` |
| Windows server, FTP host or S3 bucket as the target | WinSCP | PSFTP for SFTP-only hosts |
| Daily work on 5+ Linux servers | CtrlOps | WinSCP plus PuTTY |
| Upload, edit a config and run a command in one pass | CtrlOps | `scp` plus `ssh` |

After the upload, the next step is usually a restart or a deploy. See [how to deploy a Node.js app on a Linux VPS](https://ctrlops.io/blog/deploy-nodejs-app-linux-vps), or compare terminals in the [best SSH clients for Windows](https://ctrlops.io/blog/best-ssh-clients-windows).

## Conclusion

Moving files from Windows to Linux starts with tools you already have. `scp` and `sftp` cover most one-off jobs, and a key plus a `Host` alias shortens every command after that.

Hash anything that matters after the copy, and route root-owned folders through `/tmp`. Those 2 habits prevent the silent failures that cost the most time.

If you move and edit files on several Linux servers every week, try CtrlOps on your real servers: the Free plan covers 2 servers, and the 14-day trial unlocks every feature. A few weeks of real work will show whether one window beats switching between tools.

## Frequently Asked Questions

**Is SSH the same as SFTP?**
No. SSH is the encrypted connection to a server, and SFTP is a file transfer protocol that runs inside that connection. Most servers with SSH also accept SFTP through the SFTP subsystem.

**Can I transfer files over SSH on Windows without installing anything?**
Run `ssh -V`. If it prints a version, you can use `scp` and `sftp` with nothing else to install. If `ssh` is missing, add OpenSSH Client through Optional features. The minimum is Windows 10 build 1809.

**What is the best free way to transfer files over SSH on Windows?**
For commands, use `scp` and `sftp`. For a GUI, use WinSCP, whose classic installer and portable build are free.

**How do I use SFTP on Windows 11?**
Open PowerShell and run `sftp ubuntu@13.217.10.84`. Use `put` to upload, `get` to download, `lcd` to change your local folder and `bye` to exit. For a visual option, connect with WinSCP and choose SFTP as the protocol.

**Why does Windows say scp is not recognized?**
The OpenSSH client is missing or not on your PATH. Add OpenSSH Client from Optional features, then open a new PowerShell window. If the error names `pscp`, add the PuTTY folder to PATH or run PSCP from that folder.

**How do I copy a file from a Linux server to my Windows desktop?**
In PowerShell on Windows, run `scp ubuntu@13.217.10.84:/var/log/syslog $env:USERPROFILE\Desktop`. `%USERPROFILE%` belongs to Command Prompt, not PowerShell.

**Is scp or sftp faster for large files?**
With OpenSSH 9.0 or later, `scp` also uses the SFTP protocol. In our task A: scp took 20.5 seconds and sftp 23.0 seconds (median of 3 runs), so scp was slightly faster. That is one network and one server, so time it yourself.

**Can I resume an interrupted SSH file transfer on Windows?**
`scp` cannot, and PSCP documents no resume option. `sftp` and PSFTP can, with `reput` and `reget`. WinSCP can on SFTP, and rsync can with `--partial`.

**Is WinSCP still worth using in 2026?**
Yes, for many readers. The classic and portable builds are free, and version 6.7 came out in October 2026. It suits free drag and drop, folder sync and scripted transfers on a Windows PC.

**Can CtrlOps replace WinSCP for SSH file transfer?**
For daily transfers and edits on Linux servers, over the same SSH connection, CtrlOps can. You can add a server by pasting an `ssh user@host` string. Keep WinSCP if you need other protocols, folder sync or scripted transfers.

**Does CtrlOps work on Mac and Linux, or only Windows?**
CtrlOps runs on macOS (Apple Silicon and Intel), Windows and Linux desktops, with the same File Manager on each. There is no mobile app, so SSH from a phone needs a separate client.

**When should you not use CtrlOps for file transfers?**
Do not use CtrlOps for Windows servers, which also rules out Windows-to-Windows transfers. Skip it if you need FTP, FTPS, WebDAV or S3 targets, folder sync or scripted transfers. Also skip it if you need more than 2 servers and want to pay nothing: the CtrlOps Free plan covers 2 servers.
