FG
💻 Software

How to copy a file between two Linux machines?

Fresh5 days ago
Mar 15, 202688000 views
Confidence Score0%
0%

Problem

I'm connecting from a Linux server (Machine 1) to another Linux server (Machine 2) using PuTTY. Using WinSCP, I have copied a file from my hard disk in Windows to the Machine 1's home directory. How can I copy this zip file from the Machine 1 to the Machine 2's build/test_builds directory?

Error Output

zip

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to copy a file between two Linux machines?

Low Risk

I think this should work with every linux box with ssh enabled, maybe you'll need to enable secure copy (scp) A better way to write this can be: source and destination can be: absolute or relative path to file (eg. or ) ssh file path (in the form ss…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment