Subject: Re: Regarding Netconf subsystem example

Re: Regarding Netconf subsystem example

From: Peter Stuge <peter_at_stuge.se>
Date: Sun, 20 Sep 2020 01:59:30 +0000

Hi,

Ani A wrote:
> I also enabled the traces,
> libssh2_trace(session, LIBSSH2_TRACE_SOCKET|LIBSSH2_TRACE_TRANS);
> but its printing a lot of stuff which I am don't fully understand, but
> seems like the session is still on :

Please attach the full trace output starting with the channel open message.

> My question is - is this concept of _subsystem_ (or creating a
> _process_ in general) only meant for a single message exchange ?

No. Subsystems are just 8-bit clean channels used for a named protocol,
the most common probably being sftp.

//Peter
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2020-09-20