The local and remote file specifications are of the form
If you're including wildcards, you should include the block in quotes, such as:
scp –p "wstearns@mailserver:/home/wstearns/mail/*" /home/wstearns/mailtransfer/
In this example, we're copying all the mail files from the mail machine to the mailtransfer directory on the local machine. If omitted, user, machine, and directory default to local username, local machine, and current directory, respectively. The "-p" preserves ownership and permissions.
By specifying remote machines for both the source and destination, files can be copied between two remote machines.