Francis Giraldeau wrote: > I would like to send two commands with libssh2_channel_exec, but it > seems that only one gets executed. Should I create a new channel > for each command?
Hm, I don't think the protocol requires closing the channel after an execute has finished. You could also execute a shell that accepts commands from the client. //Peter ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ libssh2-devel mailing list libssh2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-devel