copy folder form ssh to local code example
Example 1: copy files from local to host ssh
$ scp * remoteuser@remoteserver:/remote/folder/
Example 2: ssh copy folder from local to remote
scp /path/of/your/local/filename username@hostname:/path/to/remote/server/folder