scp <source>
<destination>
copy file/directory from local machine to remote server
scp /path/to/file user@host:/path/to/destination
scp -r ~/project/src joe@example.com:~/project
scp ~/project/src/app.js joe@example.com:~/project
scp app.js joe@example.com:~/project
copy file/directory from remote server to locale machine
scp user@host:/path/to/file /path/to/destination
scp -r joe@example.com:~/project/src ~/project
scp joe@example.com:~/project/src/index.js .
scp joe@example.com:~/project/src/index.js ~/foo
scp joe@example.com:~/project/src/index.js /home/jane/foo