get file from ssh to local code example
Example 1: scp server to local
scp remote_username@10.10.0.2:/remote/file.txt /local/directory
Example 2: ssh download file
scp your_username@remotehost.edu:foobar.txt /local/dir
scp remote_username@10.10.0.2:/remote/file.txt /local/directory
scp your_username@remotehost.edu:foobar.txt /local/dir