copy from ssh to local linux code example
Example 1: using scp
scp remote_username@10.10.0.2:/remote/file.txt /local/directory
Example 2: copy from remote to local
scp file.txt remote_username@10.10.0.2:/remote/directory
scp remote_username@10.10.0.2:/remote/file.txt /local/directory
scp file.txt remote_username@10.10.0.2:/remote/directory