/ Published in: Bash
You will be prompted for a password after issuing this command
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# to copy directory from remote to local machine scp -r user@machine-name.com:/path/to/remote/directory/to/copy/* /path/to/local/destination/directory # to copy directory from local to remote machine scp -r /path/to/local/directory/to/copy/* user@machine-name.com:/path/to/remote/destination