kieranbarnes Independent PHP, WordPress & CubeCart Programmer

Using SCP to copy files between Linux servers

Posted on April 4, 2009

even a gnome shell can look goodSCP? SCP is a method of securely transferring files between a local and a remote host or between two remote hosts, using the Secure Shell (SSH) protocol.

Sounds confusing?

Not really.

scp -C -r USERNAME@REMOTE_SERVER:/LOCAL_DIRECTORY REMOTE_DIRECTORY

Easy as that! 


Related posts

  1. Find text within files
    Stuck trying to find text within files on Linux? cd /directory_tree_you_want_to_search find . -type f...
  2. Permanently mount a Windows share in Linux
    Sick of manually mounting a Windows share on Linux with "mount" for it to drop...
  3. Using rsync to maintain backups on Linux
    Following on from my previous article, regarding Setting up and using NFS on Ubuntu, here's...
  4. SSH Security Ramblings
    SSH - Secure Shell isn't that secure. If you're not using it behind a Layer...
  5. Smarty Security – Stop .tpl access
    WHMCS uses the Smarty template engine. Which means your .tpl files are accessible to anyone...

Tagged as: , Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

No trackbacks yet.