scp

Secure Copy Protocol is your friend.

Copying file to host:

scp /source/directory user@host:/target/directory

Copying file from host:

scp -r user@host:/source/directory /target/directory
Advertisements