[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Keep alive the session after remote execution of the commands
[Thread Prev] | [Thread Next]
- Subject: Keep alive the session after remote execution of the commands
- From: Javad Rahimi <javad321javad@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 30 Jun 2022 13:12:59 +0430
- To: libssh@xxxxxxxxxx
Hello, We have developed a simple ssh client application based on this <https://api.libssh.org/stable/libssh_tutor_command.html> 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 returning the result. However, it doesn't happen for all SSH servers. Is there any way to force the ssh server to keep alive the session after executing Best Regards, Javad
Archive administrator: postmaster@lists.cynapses.org