Copy files over SSH

If you like me somethimes need to easily transfer files from one server to another there is a nice utilty that does the job for you.
The command line peace of software is called scp (secure copy).

As usual we take en example case. Say for example you want to transfer backup.tar file from your remote machine to the homeserver:

scp backup.tar username@ip-or-host-address:

You’ll be prompted for remote machine’s password. After typing the password the copying will begin and store the file to the home directory of given username.

Please let me know by commenting below if you have any questions.