SSH & Remote Access18 min read
SSH File Transfer on Windows: 6 Methods That Work (2026)
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.
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.
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 |
| 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. Microsoft Store edition $19.99 |
| PSCP and PSFTP | You already use PuTTY | Yes | PSFTP yes: reput, reget. PSCP: none documented | Free |
| rsync through WSL | Large or repeat transfers | Yes: WSL, plus rsync on the server | Yes: --partial | rsync and WSL 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) |
No. SSH is the connection. scp and sftp are tools and protocols that move files over it.
OpenSSH 9.0, released in April 2022, made scp use the SFTP protocol by default. The -O flag 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.”
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:
# Print the OpenSSH client versionssh -VOpenSSH_for_Windows_9.5p2, LibreSSL 3.8.2
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, 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.

You can also use Microsoft's commands in PowerShell as Administrator.
# Check for OpenSSHGet-WindowsCapability -Online | Where-Object Name -like 'OpenSSH*'# Install the clientAdd-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0On the server, check the SFTP subsystem:
# Show the SFTP subsystem linesudo sshd -T | grep -i subsystemsubsystem sftp /usr/lib/openssh/sftp-server
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
# Copy one file to /tmp on the serverscp .\app.zip ubuntu@13.217.10.84:/tmp/app.zip 100% 6145KB 1.0MB/s 00:05
Upload a folder with -r
# Copy a folder and its contentsscp -r .\site ubuntu@13.217.10.84:/tmp/.env 100% 95 0.3KB/s 00:00style.css 100% 30 0.1KB/s 00:00photo-1.jpg 100% 20KB 33.1KB/s 00:00photo-10.jpg 100% 200KB 218.6KB/s 00:00photo-11.jpg 100% 220KB 360.1KB/s 00:00photo-12.jpg 100% 240KB 388.4KB/s 00:00photo-2.jpg 100% 40KB 66.1KB/s 00:00photo-3.jpg 100% 60KB 97.7KB/s 00:00photo-4.jpg 100% 80KB 130.9KB/s 00:00photo-5.jpg 100% 100KB 161.8KB/s 00:00photo-6.jpg 100% 120KB 194.2KB/s 00:00photo-7.jpg 100% 140KB 226.5KB/s 00:00photo-8.jpg 100% 160KB 258.9KB/s 00:00photo-9.jpg 100% 180KB 291.3KB/s 00:00index.html 100% 153 0.5KB/s 00:00app.js 100% 19 0.1KB/s 00:00
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 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.

# Run on Windows. Copies to the current folderscp ubuntu@13.217.10.84:/var/log/syslog .syslog 100% 3859KB 1.0MB/s 00:03
Use a custom port
scp takes capital -P, while ssh takes lowercase -p. On scp, lowercase -p preserves times and modes.
# Connect on port 2222scp -P 2222 .\app.zip ubuntu@13.217.10.84:/tmp/app.zip 100% 6145KB 1.7MB/s 00:03
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, because %USERPROFILE% belongs to Command Prompt.
# Upload a file with a space in its namescp "$env:USERPROFILE\Desktop\my file.zip" ubuntu@13.217.10.84:/tmp/my file.zip 100% 6145KB 1.8MB/s 00:03

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.
# Open a session. Add -P 2222 for a custom portsftp ubuntu@13.217.10.84Browse 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 |
Connected to 13.217.10.84.sftp> lsapp.log big.zip stackssftp> lls Volume in drive C is Windows Volume Serial Number is 42C6-1821 Directory of C:\Users\TSTTechnology\ssh-demo07-11-26 11:46 AM <DIR> .07-11-26 11:38 AM <DIR> ..06-11-26 06:30 PM 6,292,533 app.zip07-11-26 11:41 AM 20,971,520 big.zip06-11-26 06:30 PM 6,292,533 file.zip06-11-26 06:30 PM 40 index.html07-11-26 11:39 AM <DIR> site07-11-26 11:45 AM 3,951,827 syslog07-11-26 11:39 AM 52,436,923 task-a-50mb.zip07-11-26 11:39 AM <DIR> test-folder 6 File(s) 89,945,376 bytes 4 Dir(s) 39,719,243,776 bytes freesftp> put app.zipUploading app.zip to /home/ubuntu/app.zipapp.zip 100% 6145KB 1.8MB/s 00:03sftp> get app.logFetching /home/ubuntu/app.log to app.logapp.log 100% 29KB 30.3KB/s 00:00sftp> chmod 644 app.zipChanging mode on /home/ubuntu/app.zipsftp> byeResume with reput and reget
reput continues an upload and reget continues a download. Both assume the partial copy matches the source, so compare hashes afterward. Inside the session, run reput big.zip or reget big.zip.


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. It also covers FTP, FTPS, SCP, WebDAV and S3, with folder sync and scripting.
Follow these login steps to connect over SFTP:
- Select New Site in the tree on the left.
-
Set File protocol to SFTP. SFTP is already selected on a new site; the list also offers SCP, FTP, WebDAV and Amazon S3.

- Type the server name or IP address in Hostname. Change Port number only if the server does not use 22.
-
Enter your Username and Password.

- Select Login, or Save if you connect often.
-
Check the fingerprint at the host key prompt: "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.

-
Drag files from File Explorer to the remote panel.



Comparing WinSCP with CtrlOps? See CtrlOps vs WinSCP.
Use a key in WinSCP
WinSCP's authentication page says: "The file must be in PuTTY format." If you select an OpenSSH key, WinSCP offers to convert it.

Resume a WinSCP transfer
Resume works on SFTP, not on SCP.
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.
The latest PuTTY is 0.85, from August 16, 2026. The project says it "fixes multiple security issues", so update older copies.
Copy files with PSCP
rem Upload a folder on port 2222 with a PPK keypscp -r -P 2222 -i C:\keys\server.ppk site ubuntu@13.217.10.84:/tmp/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 youthink it is.The server's ssh-ed25519 key fingerprint is: ssh-ed25519 255 SHA256:GUwYN/hqAlRRxER/V+0pa9+30CbBCACnczlWZRhI79cIf you trust this host, enter "y" to add the key to PSCP'scache and carry on connecting.If you want to carry on connecting just once, without addingthe key to the cache, enter "n".If you do not trust this host, press Return to abandon theconnection.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%rem Download to the current folderpscp -i C:\keys\server.ppk ubuntu@13.217.10.84:/var/log/syslog .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) ysyslog | 3878 kB | 1293.0 kB/s | ETA: 00:00:00 | 100%
In PSCP, -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.


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:
psftp -P 2222 -i C:\keys\server.ppk ubuntu@13.217.10.84Using username "ubuntu".Remote working directory is /home/ubuntupsftp> pwdRemote directory is /home/ubuntupsftp> put app.ziplocal:app.zip => remote:/home/ubuntu/app.zippsftp> chmod 644 app.zippsftp> reput big.zipreput: restarting at file position 8388608local:big.zip => remote:/home/ubuntu/big.zippsftp> quit
Inside the session, use put -r, reput, reget and chmod. reput and reget assume the remote file or folder has not changed (Chapter 6).
Keep passwords off the command line
The PuTTY manual 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 compares the options.
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 needs Windows 10 version 2004 (build 19041) or Windows 11, later than the OpenSSH minimum.
# Install WSLwsl --installrsync must be on both machines. In WSL, check first, because Ubuntu's image may already have it:
# Check rsync in WSLrsync --versionrsync version 3.4.1 protocol version 32Copyright (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 crtimesOptimizations: SIMD-roll, no asm-roll, openssl-crypto, no asm-MD5Checksum list: xxh128 xxh3 xxh64 (xxhash) md5 md4 sha1 noneCompress list: zstd lz4 zlibx zlib noneDaemon auth list: sha512 sha256 sha1 md5 md4rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and youare welcome to redistribute it under certain conditions. See the GNUGeneral Public Licence for details.
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, mainly for speed.

Start with a dry run. The trailing slash on site/ copies the folder's contents, not the folder by name.
# Preview, changes nothingrsync -av --dry-run --chmod=D755,F644 /mnt/c/Users/TSTTechnology/ssh-demo/site/ ubuntu@13.217.10.84:/tmp/site/sending incremental file listcreated directory /tmp/site./.envindex.htmlcss/css/style.cssimg/img/photo-1.jpgimg/photo-10.jpgimg/photo-11.jpgimg/photo-12.jpgimg/photo-2.jpgimg/photo-3.jpgimg/photo-4.jpgimg/photo-5.jpgimg/photo-6.jpgimg/photo-7.jpgimg/photo-8.jpgimg/photo-9.jpgjs/js/app.jssent 476 bytes received 111 bytes 130.44 bytes/sectotal size is 1,597,737 speedup is 2,721.87 (DRY RUN)
# Transfer, keep partial files, show progressrsync -a --partial --progress --chmod=D755,F644 /mnt/c/Users/TSTTechnology/ssh-demo/site/ ubuntu@13.217.10.84:/tmp/site/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.

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.
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 works over the same SSH connection as the terminal, with no separate host setup to maintain.
-
After you connect to the server, open File Manager in the left menu.

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


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


-
Open a file such as
.env, change the line and select Save.

CtrlOps can also expand a ZIP on the server. The File Manager docs 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.”
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 the old filesudo cp -a /var/www/app/index.html /var/www/app/index.html.bak# Move the upload into placesudo mv /tmp/index.html /var/www/app/# Set the owner. Use your web server usersudo chown www-data:www-data /var/www/app/index.html# Undo: restore the backupsudo mv /var/www/app/index.html.bak /var/www/app/index.html
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. We did not test this step on a RHEL-family server in this round.
# Moved files keep the wrong labelsudo restorecon -Rv /var/www/app/Need help reading permission bits like 644? The chmod calculator translates them.
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. Microsoft's key guide uses Ed25519 as the default.
# Create an Ed25519 keyssh-keygen -t ed25519Generating 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_demoEnter passphrase (empty for no passphrase):Enter same passphrase again:Your identification has been saved in C:\Users\TSTTechnology/.ssh/id_ed25519_demoYour public key has been saved in C:\Users\TSTTechnology/.ssh/id_ed25519_demo.pubThe key fingerprint is:SHA256:7T9jNEhZ9QM2xFoqnumTp4BDaFfRayq1b6cV1h0BNbE tsttechnology@TSTWe already had an id_ed25519, so at the file prompt we typed a new name, id_ed25519_demo, instead of overwriting it.

Install the public key from PowerShell, because ssh-copy-id is not in Microsoft's command list. Our C:\Windows\System32\OpenSSH folder had no ssh-copy-id either.
# Add the public key to the serverGet-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:
# Upload with the keyscp -i $env:USERPROFILE\.ssh\id_ed25519_demo .\app.zip ubuntu@13.217.10.84:/tmp/app.zip 100% 6145KB 1.6MB/s 00:03
Our 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.
Host prod HostName 13.217.10.84 User ubuntu IdentityFile ~/.ssh/id_ed25519_demoNow prod covers the host, user and key:
# Upload with the aliasscp app.zip prod:/tmp/app.zip 100% 6145KB 1.8MB/s 00:03
Convert a key for PuTTY
PSCP and PSFTP need a PPK key. Convert your OpenSSH key in PuTTYgen:
-
Open the Conversions menu, select Import and pick your OpenSSH private key. PuTTYgen confirms the import.

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

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

The free OpenSSH to PPK converter does the same in your browser.
Hash the file on both sides and compare the two values. If they match, every byte arrived. 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.
# Hash on WindowsGet-FileHash .\file.zipAlgorithm Hash Path--------- ---- ----SHA256 7F9D3C8BF9A0DF23E5DB4E812B7092E6AF2B25AB08898C70D8E44534291EFED4 C:\Users\TSTTechnolog...
# Hash on the serversha256sum /tmp/file.zip7f9d3c8bf9a0df23e5db4e812b7092e6af2b25ab08898c70d8e44534291efed4 /tmp/file.zip
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.
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 |



Still stuck on the connection itself? The connection issues guide walks through each check.
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, or compare terminals in the best SSH clients for Windows.
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.
- 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.
- Run
ssh -V. If it prints a version, you can usescpandsftpwith nothing else to install. Ifsshis missing, add OpenSSH Client through Optional features. The minimum is Windows 10 build 1809. - For commands, use
scpandsftp. For a GUI, use WinSCP, whose classic installer and portable build are free. - Open PowerShell and run
sftp ubuntu@13.217.10.84. Useputto upload,getto download,lcdto change your local folder andbyeto exit. For a visual option, connect with WinSCP and choose SFTP as the protocol. - 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. - In PowerShell on Windows, run
scp ubuntu@13.217.10.84:/var/log/syslog $env:USERPROFILE\Desktop.%USERPROFILE%belongs to Command Prompt, not PowerShell. - With OpenSSH 9.0 or later,
scpalso 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. scpcannot, and PSCP documents no resume option.sftpand PSFTP can, withreputandreget. WinSCP can on SFTP, and rsync can with--partial.- 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.
- 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@hoststring. Keep WinSCP if you need other protocols, folder sync or scripted transfers. - 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.
- 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.



