[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ssh_channel_accept_forward(): No channel request of this type from server


Hi libssh community,

I use the client code for direct and reverse port forwarding from the
tutorials.

This code works perfectly when using an OpenSSH server on Ubuntu 16.10.

However, consider the client code for reverse port forwarding, which makes
use of the following calls:

ssh_channel_listen_forward()

ssh_channel_accept_forward()

The problem is (using my own libssh server) that the client times out in
the call to ssh_channel_accept_forward() with the following error message:

"No channel request of this type from server"

How do I construct such channel request on the server side, such that the
client doesn't time out and a new channel is created? I've tried most of
the API functions without luck...

Is there a specific API function for sending this channel request? If not,
how do I accomplish the task of request the channel?

Thanks for your time,
Nicolas

Archive administrator: postmaster@lists.cynapses.org