C ssh server library?

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

+4
source share
3 answers

libssh library supports both client and server sides.

Take a look at the libssh server API documentation , as well as some examples.

+4
source

Check out the OpenSSH source code.

+2
source

OpenSSH at http://www.openssh.com/ seems to include sshd, which is a server component. Warning. I did not use it myself.

+1
source

All Articles