tags:

views:

222

answers:

2

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.

+1  A: 

Check the OpenSSH's source code.

OneOfOne
+1  A: 

OpenSSH at http://www.openssh.com/ seems to include sshd, which is the server component. Caveat - I haven't used it myself.

anon