Subject: libssh2_channel_exec issue

libssh2_channel_exec issue

From: vicent roca daniel <saptah_at_gmail.com>
Date: Sun, 14 Feb 2010 18:50:43 +0100

Hi guys,
I'm trying to write a simple ssh client that connects to a bunch of ssh
servers and issues some command and get some results.
The problem I have is that the first libssh2_channel_exec() works fine, but
the second, third, etc.. don't work.
It seems that for some reason the channel is closed. żI'm doing it wrong?
I know I can open a shell, but I'd like to do it this way, seems muchs
simpler for me.

Thanks you for your responses :)
bye!!!

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-02-14