curl-library
Re: Invoking remote operations by ssh ...
From: Sandro Andrade <sandro.andrade_at_gmail.com>
Date: Wed, 24 Oct 2007 10:42:48 -0300
Date: Wed, 24 Oct 2007 10:42:48 -0300
Hi Linus,
Thanks for reply.
Yes, I could do this, but we wouldn't like to create dependencies on
external tools like ssh. If there is a way to perform this operation
programmatically it would be better.
Do you know if libcurl supports this feature ?
Thanks,
Sandro
On 10/24/07, Linus Nielsen Feltzing <linus_at_haxx.se> wrote:
>
> Sandro Andrade wrote:
> > In some cases, I need to grab the resulting messages:
> >
> > ssh <host> "ls -la" ... get the response
>
> Couldn't you do that with:
>
> ssh <host> "ls -la" > output.txt
>
> Linus
>
>
-- Sandro Santos Andrade -------------------------------------------------------- Distributed Systems Laboratory (LaSiD) Computer Science Department (DCC) Federal University of Bahia BrazilReceived on 2007-10-24