download a file from ssh with bash command code example Example: ssh download file scp your_username@remotehost.edu:foobar.txt /local/dir