how to copy file from ssh server to local machine code example
Example 1: copy file from ssh server to local
scp host_name:file_server path_local
Example 2: copy files from local to host ssh
$ scp * remoteuser@remoteserver:/remote/folder/
scp host_name:file_server path_local
$ scp * remoteuser@remoteserver:/remote/folder/