On Tue, 24 May 2011, Michael C. Cambria wrote:
> Is there a way to supply to libssh2 the name of an external subsystem which
> sshd is to use (similar to "-s my-subsystem" on the command line in
> OpenSSH?)
You can start a custom subsystem with libssh2_channel_process_startup().
Something like:
libssh2_channel_process_startup(handle, "subsystem", 9,
"my-subsystem", 12);
You can probably check out the sftp.c code to get inspiration, since SFTP is a
subsystem.
-- / daniel.haxx.se _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2011-05-25