ssh copy to local machine code example
Example 1: scp to remote server
scp ./file.txt remote_username@remote_ip:/remote/directory
Example 2: ssh transfer file from local to remote
scp file.txt [email protected]:/remote/directory
Example 3: copy files from local to host ssh
$ scp * remoteuser@remoteserver:/remote/folder/