copy to ssh from local code example
Example 1: copy from local to ssh ubuntu
scp -r your_user_name@ip_address_of_PCA:/path/to/remote/directory /path/to/local/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/