Downloading a file using the scp command
The following example of the scp
command will download the file /root/somefile.tar.gz
on the server localhost
to the current working directory of the local machine.
$ scp root@localhost:/root/somefile.tar.gz ./