terminal download file to local machine code example Example: ssh download file scp your_username@remotehost.edu:foobar.txt /local/dir