SCP Commands Cheat Sheet
Here is a cli commands cheat sheet for SCP command, you can use this as a quick reminder for basic commands with a brief description for each of the commands.
What is SCP command?
Add some data here
# To copy a file from your local machine to a remote server: scp@ : # To copy a file from a remote server to your local machine: scp @ : # To scp a file over a SOCKS proxy on localhost and port 9999 (see ssh for tunnel setup): scp -o "ProxyCommand nc -x 127.0.0.1:9999 -X 4 %h %p" @ : # To scp between two remote servers from the third machine: scp -3 @ : @ :
Check out the SCP command documentation .
You can also check our MegaSh cheatsheet tool, that has 150+ searchable linux cheat sheets in one page, so you never forget a command as you work again