Subject: RE: IPv6 Support Query

RE: IPv6 Support Query

From: Kumar, Ashish <Ashish.Kumar_at_ca.com>
Date: Tue, 22 Dec 2009 20:03:01 +0530

If you know about "plink" which is a commandline putty utility , It has
one feature as below

plink -2 root_at_calis1 -nc cali11:22

In this case "calis1" is the target host and "calil1" is acting as a
proxy server who has access to calis1 .This "Proxy" feature is only
supported by ssh2 protocol and not ssh1.

I am looking for similar stuff and analyzing its feasibility with
libssh2

Thanks
Ashish
-----Original Message-----
From: libssh2-devel-bounces_at_cool.haxx.se
[mailto:libssh2-devel-bounces_at_cool.haxx.se] On Behalf Of Peter Stuge
Sent: Tuesday, December 22, 2009 6:27 PM
To: libssh2-devel_at_cool.haxx.se
Subject: Re: IPv6 Support Query

Kumar, Ashish wrote:
> Thanks Peter .
>
> Your wild guess helped me investigate further and debug details of
> libssh2 indicated that sshd_config on remote host was not
> configured properly .

I'm glad that a solution was found.

> I now want to use an intermediate proxy server which I will connect
> to and that will in-turn issue commands to my remote host and give
> me results .
>
> Is that possible using libssh2 ?

libssh2 needs a socket that is connected to an SSH server. How that
socket is created, and if any proxying is done is up to you. You can
do whatever you need to get the SSH server "on the line" before you
give the socket to libssh2.

Which protocol do you want to use for communication with this proxy
server? Can you describe the overall use case in more detail? That's
neccessary for someone else to be able to give advice..

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-12-22