Transferring files with SCP

Another nice feature of the SSH service is that it allows you to securely transfer files between servers using the scp (secure copy) command. For example, suppose you have two different Freedom servers and wish to copy your /etc/mail/aliases file from one server to the /tmp directory of the other. The following command would allow you to copy the file from server1 to server2 after logging in the user jdoe:

> scp /etc/mail/aliases jdoe@server2:/tmp/

For additional information on the scp command, type man scp at your command prompt.