Upload and downfile using scp

The scp command allows you to copy files over ssh connections. This is pretty useful if you want to transport files between computers, for example to backup something.

Upload local file to remote server:
scp localfile username@tohostname:/dir/

Download remote file to local system:
scp username@tohostname:/remotefile /localdir/

Tags: , ,

This entry was posted on Friday, December 18th, 2009 at 2:41 PM and is filed under Tutorial, ubuntu. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply