Re: Keep alive the session after remote execution of the commands

2022-06-30 Thread Jakub Jelen
On 6/30/22 13:38, Javad Rahimi wrote: Hi Antenore, Thank you very much. I have attached my demo code. Its always helpful to see a libssh client and server debug logs to get a grasp of what is going on there, where, why and what is actually failing in the code. Regards, -- Jakub Jelen

Re: Keep alive the session after remote execution of the commands

2022-06-30 Thread Javad Rahimi
Hi Antenore, Thank you very much. I have attached my demo code. Best Regards, Javad On Thu, Jun 30, 2022 at 2:40 PM Antenore Gatta wrote: > Hello! > > I'm just a follower trying to help ;-) > > On Thu, 2022-06-30 at 13:12 +0430, Javad Rahimi wrote: > > Hello, > > > > We have developed a

Re: Parsing private key PK - Invalid key tag or value

2022-06-30 Thread Heiko Thiery
Hi Jakub, I added Andreas. Am Do., 30. Juni 2022 um 12:42 Uhr schrieb Jakub Jelen : > > On 6/30/22 07:43, Heiko Thiery wrote: > > Hi, > > > > I use netopeer2 with libnetconf2 in combination with libssh and > > mbedtls. When trying to open a SSH connection I get the following > > message: > > > >

Re: Parsing private key PK - Invalid key tag or value

2022-06-30 Thread Jakub Jelen
On 6/30/22 07:43, Heiko Thiery wrote: Hi, I use netopeer2 with libnetconf2 in combination with libssh and mbedtls. When trying to open a SSH connection I get the following message: [INF]: LN: Accepted a connection on 0.0.0.0:830 from 127.0.0.1:38712. [INF]: SR: Session 128 (user "root", CID

Re: Keep alive the session after remote execution of the commands

2022-06-30 Thread Antenore Gatta
Hello! I'm just a follower trying to help ;-) On Thu, 2022-06-30 at 13:12 +0430, Javad Rahimi wrote: > Hello, > > We have developed a simple ssh client application based on this example > (libssh: Chapter 4) to run a command remotely and return the results. There's much more than that to do

Keep alive the session after remote execution of the commands

2022-06-30 Thread Javad Rahimi
Hello, We have developed a simple ssh client application based on this example (libssh: Chapter 4) to run a command remotely and return the results. However, the ssh server disconnects the connection after executing the command and

Re: Parsing private key PK - Invalid key tag or value

2022-06-30 Thread Heiko Thiery
Hi Andreas, Am Do., 30. Juni 2022 um 08:06 Uhr schrieb Andreas Schneider : > > On Thursday, June 30, 2022 7:43:33 AM CEST Heiko Thiery wrote: > > Hi, > > Hi Heiko, > > > I use netopeer2 with libnetconf2 in combination with libssh and > > mbedtls. When trying to open a SSH connection I get the

Re: Parsing private key PK - Invalid key tag or value

2022-06-30 Thread Andreas Schneider
On Thursday, June 30, 2022 7:43:33 AM CEST Heiko Thiery wrote: > Hi, Hi Heiko, > I use netopeer2 with libnetconf2 in combination with libssh and > mbedtls. When trying to open a SSH connection I get the following > message: > > [INF]: LN: Accepted a connection on 0.0.0.0:830 from