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
Received on 2009-12-22