On Tuesday, 15 February 2022 23:56:21 CET Levente wrote:
> Hi,
Hey Lev!
> I want to implement a CLI interface over ssh.
>
> My question if there are any example code to achieve this? I mean...
> creating a server on a specific TCP port, where I can use my ssh client
> to log in. Catching the stream in my application.
>
> I've searched
> [here](https://api.libssh.org/stable/libssh_tutorial.html), but all I
> found was client side code.
take a look at the examples directory in the source code, you will find server
examples there. A way to contribute back to libssh would be to extend the
tutorial with a server example ;-)
Best regards
Andreas