scp
command will work just like the cp
command, copying a local file to a local destination./home/user/table.csv
to a remote host named host.example.com
and copy there to jane's home folder, use this command.host.example.com
to your local home folder.scp
you can copy files between remote servers from a third server without the need to ssh into any of them, all weight lifting will be done by scp
itself./home/jane/backup/html/....
The whole html folder and its contentes recursively have been copied to the remote server.scp
uses AES-128 to encrypt data, this is very secure, but also a litle bit slow. If you need more speed and still have security, you can use Blowfish or RC4.scp
to use the port where the remote server is listening to:scp
to use a port other than 22 which is the default for ssh. Let's say your remote server is listening on 2222.-v
parameter for a verbose outputscp
in various ways, of course if you are a '*nix guy' you will prefer the command line, and you also have GUI tools available.pscp
is a shell command that works almost on Windows Shell almost the same way that scp
works on Linux or Mac OS X, you first need to download it from this page, here is the direct link.pscp
from the Windows computer you can 'push' the files to the Linux, Max OS X or *BSD server.