how to scp from remote to local computer code example
Example 1: copy from remote server
scp -i <KEY CERTIFICATE | .ppk or .pem file> <source URL of local server or remote server> <destination URL of local server or remote server>
Example 2: copy files from local to host ssh
$ scp * remoteuser@remoteserver:/remote/folder/