copy file to remote server command line code example
Example 1: copy files from local to host ssh
$ scp * remoteuser@remoteserver:/remote/folder/
Example 2: scp send file to remote
dragonmnl@local $ scp -P 2222 file.ext username@domain:~/
$ scp * remoteuser@remoteserver:/remote/folder/
dragonmnl@local $ scp -P 2222 file.ext username@domain:~/