SET CGO_ENABLED=0 SET GOOS=linux SET GOARCH=amd64 go build ./ ssh -t -i ./id_rsa_local c@192.168.0.101 'rm /home/c/api/bin/userapi' scp -i ./id_rsa_local background c@192.168.0.101:/home/c/api/bin/userapi scp -i ./id_rsa_local user.yaml c@192.168.0.101:/home/c/api/bin/user.yaml scp -i ./id_rsa_local pem/ca.pem c@192.168.0.101:/home/c/api/bin/pem/ca.pem scp -i ./id_rsa_local pem/client-cert.pem c@192.168.0.101:/home/c/api/bin/pem/client-cert.pem scp -i ./id_rsa_local pem/client-key.pem c@192.168.0.101: /home/c/api/bin/pem/client-key.pem