How to Copy Files Between Windows and Linux

Published: 21 March 2025
on channel: 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


On this page of the site you can watch the video online How to Copy Files Between Windows and Linux with a duration of hours minute second in good quality, which was uploaded by the user The Swedish Sysadmin 21 March 2025, share the link with friends and acquaintances, this video has already been watched 431 times on youtube and it was liked by 14 viewers. Enjoy your viewing!