How to copy files over SSH using SCP Linux command line tool

No Comments

SCP = SECURE COPY (remote file copy program), with SCP you can copy files over an SSH connection securely and encrypted. With this Linux command line toolyou can copy files remotely from one remote server to another, or from you’re PC to a remote server.

USAGE = scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[[email protected]]host1:]file1 … [[[email protected]]host2:]file2

OPTIONS = Open a terminal window on you’re Linux box, or/and type in the command line the following command for all options for scpman scp

EXAMPLE
 = scp DevServer.test.lan:/var/www/html/testSite/images/image1.jpgtestserver:/var/www/html/images/NewImages

Image Credits: Photo by Isis França on Unsplash.

Last Updated On April 07, 2018

Related Articles

No results found

Leave a Reply

avatar
  Subscribe  
Notify of
Menu
Copy link