linux download file over ssh to local location code example Example: ssh download file scp your_username@remotehost.edu:foobar.txt /local/dir