download file from server ubuntu code example Example: ssh download file scp your_username@remotehost.edu:foobar.txt /local/dir