ssh server C library?

c, ssh

Solution

The libssh library supports client and server side.

Take a look at the libssh server API documentation and they also have some examples.

Problem

I am looking for a C library that implements the server end of ssh. In particular, I am only interested in the subset that provides port forwarding. The ones that I have found so far (libssh2, NetSieben etc) seem to implement just the client.

Original source