A typical example is that we want copy a folder from our local system to the remote onyx server. We would need to know the path on onyx to where we want to copy. Here is an example (that we saw earlier):
scp -r program4 USERNAME@onyx.boisestate.edu:workspace/
Here the local folder program4 gets copied to the onyx server under the workspace folder in the user's home directory on onyx. Again, note that we must end the remote hostname with a colon (: after the edu). We can also change the name as we saw in the previous section.