scp file.txt remote_username@10.10.0.2:/remote/directory
Copy
scp remote_username@10.10.0.2:/remote/file.txt /local/directory
$ scp -r user@ssh.example.com:/path/to/remote/source /path/to/local/destination
scp -r /local/directory remote_username@10.10.0.2:/remote/directory
scp file.txt remote_username@10.10.0.2:/remote/directory
Copy
scp remote_username@10.10.0.2:/remote/file.txt /local/directory
$ scp -r user@ssh.example.com:/path/to/remote/source /path/to/local/destination
scp -r /local/directory remote_username@10.10.0.2:/remote/directory