Jump to content


- - - - -

How to: Transfer files between servers over SSH in CentOS 6.5

CentOS 6.5

  • Please log in to reply
No replies to this topic

#1 Wilson18



  • root
  • 112 posts
  • LocationUniversity of Birmingham

Posted 22 July 2014 - 10:50 PM

In this tutorial, I will be showing you how you can transfer files between servers. Below, you should be able to see this been done.
Download to this server
If you are currently connected to a server and would like to download a file to it from another server, you will need to run a command like this. 

scp user@host:/path/to/remote/file /location/to/save/file

You should then be prompted to enter a password. Once you have done this, you should then see the file start to download.


Upload to another server
If you would like to upload a file from a server you are currently connected to over to another server, you can do so using the command below. 

scp /path/to/my/file user@host:/location/to/save/file 


List what you read?

Check me out on: YouTube, Twitter, Facebook, Google+

Also tagged with one or more of these keywords: CentOS 6.5