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):
GOOS=linux GOARCH=amd64 go build from directory where source code is located)cd /app && touch go-wrk)scp -v </path/to/go-wrk> mark_mcdonnell@<ip>,eu-west-1:/app/)mv go-wrk /usr/bin/)chmod 755 /usr/bin/go-wrk)or instead you could copy the file into
/home/mark_mcdonnell
# 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