Copy files over SSH

Date: 2010-06-21

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 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.

ubuntudog.com © 2017 | About | Sitemap | Contact