On Mon, Apr 16, 2012 at 5:22 PM, Andreas Schneider <[email protected]> wrote: > On Monday 16 April 2012 17:06:48 you wrote: >> The ssh_execute_message_callbacks is not documented and not used in >> any existing examples. I found it diving into the server.c >> implementation. I'm not sure if I'm using it as designed for. > > We know that serveral people are already using the server part. It isn't as > complete and tested as the client part. A lot of documentation if missing but > we would be glad to get patches for documentation and examples. > > If you want to implement a real server. I would implement a pre-forked model > for handling connections. > > Cheers, >
Does sending the banner to a connected client work? I cannot observe that using the openssh client. I'm setting the banner in the ssh_bind structure: ssh_bind_options_set(sshbind, SSH_BIND_OPTIONS_BANNER, "my ssh server"). Looking into the libssh code I see that the banner should be sent as a part of the ssh_handle_key_exchange call. I'm calling that function, but I can't see the banner at all. Regards, Tomek
