The goal is to copy files from one Linux computer to another Linux computer. The scp command is the command of choice.
To get help, type scp --help, the result is the following usage syntax.
usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]<br /> [-l limit] [-o ssh_option] [-P port] [-S program]<br /> [[user@]host1:]file1 [...] [[user@]host2:]file2
Basic syntax is scp source destination on a local Linux computer. However if the source is a remote computer, add the following to the syntax.
scp username@remote_IP_address_or_host_name:absolute_path_to_file localhost_absolute_path_to_file
Example: Copy the file example.txt from remote host to localhost
scp email@example.com:/root/Documents/example.txt /root/Documents
You will be prompted for a password. To remove the password prompt addional configuration will be necessary. There are guides for this, one is listed in the source(s) below.