Currently I'm calling a remote script using the backtick method, it works, but it feels wrong and nasty...
`ssh user@host $(echo "~/bin/command \\\"#{parameter}\\\"")`
Can someone give me a better way of expressing this?
Many thanks.
Currently I'm calling a remote script using the backtick method, it works, but it feels wrong and nasty...
`ssh user@host $(echo "~/bin/command \\\"#{parameter}\\\"")`
Can someone give me a better way of expressing this?
Many thanks.