Select Page

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

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

Last Updated On April 07, 2018

Leave a reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.