OpenSSH
[Top] [All Lists]

Re: Client options to server

To: openssh-unix-dev@mindrot.org
Subject: Re: Client options to server
From: Peter Stuge <stuge-openssh-unix-dev@cdy.org>
Date: Mon, 13 Nov 2006 20:00:35 +0100
Delivered-to: sp-com-lists@consult.net
Delivered-to: openssh-unix-dev-list1@securepoint.com
Delivered-to: openssh-unix-dev-tmda@mindrot.org
Delivered-to: openssh-unix-dev@mindrot.org
In-reply-to: <199b4dc20611131001i2a37f082qf25bf6b5fb0dcea0@mail.gmail.com>
List-archive: <http://lists.mindrot.org/pipermail/openssh-unix-dev>
List-help: <mailto:openssh-unix-dev-request@mindrot.org?subject=help>
List-id: Development of portable OpenSSH <openssh-unix-dev.mindrot.org>
List-post: <mailto:openssh-unix-dev@mindrot.org>
List-subscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=subscribe>
List-unsubscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=unsubscribe>
Mail-followup-to: openssh-unix-dev@mindrot.org
References: <199b4dc20611120035y7674f067g11b6c4262644fbb5@mail.gmail.com> <20061112092317.GA24196@gate.dtucker.net> <199b4dc20611120128p61f36d74xb8031a911f6df389@mail.gmail.com> <20061112094204.GA24800@gate.dtucker.net> <199b4dc20611120149j301f1217y82a7f0266c1db5fa@mail.gmail.com> <20061112104248.GA25640@gate.dtucker.net> <199b4dc20611120737m11acd84dj31c8457d0059ffb@mail.gmail.com> <199b4dc20611131001i2a37f082qf25bf6b5fb0dcea0@mail.gmail.com>
Sender: openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org
On Mon, Nov 13, 2006 at 07:01:01PM +0100, Vincenzo Sciarra wrote:
> How can pass a argument from client to server?
> 
> More explicit :
> 
> ssh -K www.foo.it/baar server_host
> 
> Server will parse the -K argument and will connect to www.foo.it
> and get baar for example.
> How can I pass the -K argument from client to server?

This example requires a HTTP client. There are many availble, some
examples are wget, curl and snarf. Using curl you would do this:

ssh server_host "curl http://www.foo.it/baar";

This effectively executes the curl command on server_host, so curl
will need to be installed there.

You can run any application or script over the network this way and
there is full duplex communication.


//Peter
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

<Prev in Thread] Current Thread [Next in Thread>