cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: executing 'ls -l' remotely?

From: Alan Pinstein <apinstein_at_mac.com>
Date: Sat, 2 Oct 2004 14:55:23 -0400

See "man ssh"

      ssh [-l login_name] hostname | user_at_hostname [command]

ie:

ssh user_at_host.com "/path/to/script/script.sh"

Probably easier to use SSH for that than curl... in fact I don't know
how you could get curl to do that.

Alan

On Oct 2, 2004, at 11:25 AM, nkb wrote:

> Hi.
>
> I would like to use libcurl to execute a remote command such as 'ls
> -l' on a unix machine. Or possibly run a script like a make file on a
> remote machine. I wonder if this is at all possible? Any advise
> please. Thanks!!!
Received on 2004-10-02