cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Invoking remote operations by ssh ...

From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Wed, 24 Oct 2007 15:21:36 +0200

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
Received on 2007-10-24