Ticket #154 (closed enhancement)

Opened 9 years ago

Last modified 8 years ago

Posibility to do kex as server

Reported by: dfahlander Owned by:
Priority: normal Milestone:
Component: Version:
Keywords: Cc: dfahlander, bagder
Blocked By: Blocks:


Thanks for a great library!

I am trying to build a SSH Single Sign-On proxy and would need to be able to act as both client and server. I have been looking at your code and see the libssh2_priv.h methods libssh2_packet_read() and libssh2_packet_write() useful for forwarding data at a low transport level.

However, it would be nice to have a SERVER version of libssh2_session_startup() so that it is easier to act as a server in the handshake phase.

Maybe this is not in line with the API that acts on a higher level. However, my wondering is if there is something prepared in the code to do be able to do a hanshake as server?


Change History

comment:1 Changed 8 years ago by bagder

libssh2 will remain client-side focused for now and for a foreseeable time. If we ever go server mode, this of course will be done.

Note: See TracTickets for help on using tickets.