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.

openssh-unix-dev mailing list