Hi!
When SSHD is running on alternative port (other than 22) and SSH_OPTIONS_PORT via ssh_options_set is configured for the libssh session in exec example, connection to server is timed out and last state of the libssh is 9.
Reconfiguring the SSHD server to default port 22, leaving out the ssh_optionts_set with SSH_OPTIONS_PORT while using the same code base leads to sucessfull connect.
Regards,
Martin