Code Element Uf
Upload Files from Local to Server with SSH
Use the following command to copy directories recursively from your local machine to remote server via SSH.
$ scp -r ~/path/to/local/directory/ user@server:../../path/to/remote/directory/
Use the following command to copy directories recursively from your local machine to remote server via SSH.
$ scp -r ~/path/to/local/directory/ user@server:../../path/to/remote/directory/