You can do this via ssh.

> On Sep 25, 2018, at 7:01 PM, Hemant Singh <hemanti...@gmail.com> wrote:
> 
> I have been able to run a command on a remote machine using Go.  Is there a 
> working example that shows how to capture the output of the command back to 
> the client machine?  Maybe an interactive shell...   
> 
> My other choice is to run the command and save its output to a file and copy 
> the file from the remote machine.
> 
> Thanks,
> 
> Hemant
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to golang-nuts+unsubscr...@googlegroups.com 
> <mailto:golang-nuts+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to