Uploading files with scp command

By | 2011/07/25

Just execute following command in your terminal (~ is the home directory):

scp filename.txt username@hostname.org:~

Uploading directory with all files inside it:

scp -r dirname username@hostname.org:~