How to Copy Files Between Windows and Linux

Опубликовано: 07 Май 2026
на канале: The Swedish Sysadmin
431
14

Today we'll copy files and folders between Windows and Linux using SCP (Secure Copy Protocol) via PowerShell! In this step-by-step guide, I'll show you how to do the transfers both ways between Windows and Linux using OpenSSH in PowerShell, without needing extra software like PuTTY.

0:00 | Intro: Securely Transfer Files with SCP (Linux and Windows)
0:26 | Prerequisites: OpenSSH Server on Windows & Linux
0:43 | Connectivity Check: Using 'Test-NetConnection' on Port 22 (SSH)
1:34 | Establishing SSH Sessions to Both Windows and Linux Machines
3:09 | SCP Command Syntax: Transferring a Single File (Windows to Linux)
4:20 | Recursive Transfer: Using 'scp -r' to Copy a Directory/Folder
5:55 | Reversing the Transfer: SCP Syntax for Linux to Windows Transfer
6:25 | Critical Tip: Correct Directory Path Slashes for Windows Target (Forward Slashes)
6:54 | Troubleshooting: Using 'scp -v' for Verbose Debug Output
7:52 | Common Error: Debugging 'No Such File or Directory' with SCP

#SCP #PowerShell #Windows #Linux #FileTransfer #OpenSSH #Sysadmin