kburke...@gmail.com wrote:
> Hi, I'd like to SSH to a remote host and run an arbitrary command. I found
> this pretty difficult to do with existing Go libraries.
>
> The first problem I had was around escaping; commands run locally are
> appropriately escaped but I found it difficult to get the
It works for me (over ssh) when I run this string as the command: `echo
'zdUZUKv{<&MsZG'`
Use backticks for the string literal, then enclose your argument string in
single-quotes.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe
Hi, I'd like to SSH to a remote host and run an arbitrary command. I found
this pretty difficult to do with existing Go libraries.
The first problem I had was around escaping; commands run locally are
appropriately escaped but I found it difficult to get the right escaping
for commands run remo