copy stuff to remote server through ssh

only on linux, and connected to server through ssh

scp -r my-folder root@my-server-ip:/var/www/html

"recursively copy my-folder to remote server's /var/www/html directory.

ref