---
title: "How to copy files between two Linux machines?"
author: "RobertLeeJesus"
date: "2008-08-13T16:16:32Z"
tags: []
slug: "how-to-copy-files-between-two-linux-machines"
draft: false
lastmod: "2008-08-13T16:16:32Z"
id: 227572
url: "https://hidefromall.iteye.com/blog/227572"
---

1\. Upload file.

    scp source.txt robert@9.186.23.31:/opt/temp/dest.txt

 

2\. Download file.

    scp robert@9.186.23.31:/opt/temp/dest.txt source.txt

 

After is is run, you will be prompted to input the password for user robert.

 

**Reference**

 

http://www.linuxdiyf.com/viewarticle.php?id=15013