Skip to main content

Copy from Linux to Windows – SCP

  • You need to copy file from Linux machine to Windows quickly
  • You have SSH access to the Linux machine from Windows
  • You have scp installed

Type this to PowerShell/Windows Terminal on your Windows machine

scp -P [SSH port] linuxusername@ip_of_linux:/path/to/your/file.tar C:\Path\to\save\the\file

Omit the -P option if you are using default SSH port 22.