download file from remote to local ssh code example Example: ssh download file scp [email protected]:foobar.txt /local/dir