To download a file from remote server to the local machine - type:
scp tom@server2:$HOME/file.txt /local/machine/path/
This example shows how to download the file named file.txt
from user tom
's home directory to our local machine's current directory.