Sending files between Linux machines

Posted: April 20, 2013 in Misc

For a single file, try the “scp” command. You can use this as a “push” or a “pull” command, but let’s start with pushing the file to the other server. While on alice, use the command “scp myfile fieldmouse@madhat:thatfile”. This will copy the file over to the other system, into the fieldmouse userid, with the name “thatfile”. If you were logged in on the other system, you could just as easily pull the file with the command “scp rabbit@alice:myfile thatfile”, and get the same results.

 

 

Source: http://www.wikihow.com/Transfer-Files-from-One-Linux-Server-to-Another

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s