Also, don't we already have a callback API for agent forwarding? But maybe not the "client requests agent forwarding" case. I second Andreas, we really want to get rid of the messages API and
ssh_channel ssh_channel_accept_xxx(ssh_channel channel, int timeout_ms) -type APIs that will work badly in some occasions. This certainly deserves a better documentation, I wish I had more time for this. Aris On 2/03/16 13:20, Andreas Schneider wrote: > On Tuesday 23 February 2016 21:45:00 [email protected] wrote: >> Hi, > Hello Raf, > > thanks you very much for your contribution! > >> It would be nice if libssh could provide agent forwarding capabilities. >> Below is a patch to implement this. > We support this if you implement a callback based ssh server. We want to get > rid of the old messages API. > > See > > https://git.libssh.org/projects/libssh.git/tree/examples/ssh_server_fork.c > > for a server exampling using the callbacks API. > > > Best regards, > > > -- andreas >
