linux send file from local to remote server ssh code example Example: scp folder from server to local scp -r [email protected]:/path/to/foo /home/user/Desktop/