« Back to Index

SCP examples (local to remote and remote to local)

View original Gist on GitHub

scp-local-to-remote.md

To SCP go-wrk onto a server for executing (this is if you can’t be bothered to bake a version of go-wrk into the application RPM):

or instead you could copy the file into /home/mark_mcdonnell

scp-remote-to-local.sh

# Execute the following command from your local machine
scp -v -r mark_mcdonnell@10.6.6.149,eu-west-1:/app/ /Users/M/Projects/Foo/Bar