upload files ssh scp code example
Example 1: scp send file
scp ./file.txt remote_username@remote_ip:/remote/directory
Example 2: copy files from local to host ssh
$ scp * remoteuser@remoteserver:/remote/folder/
scp ./file.txt remote_username@remote_ip:/remote/directory
$ scp * remoteuser@remoteserver:/remote/folder/