Hi all,
I implemented an ssh server, but I have a problem:
the first incoming connection works fine, (putty console is opened
correctly), but from the second connection server doesn't wakeup from
ssh_accept().
the structure of the server is a class object (visual c++) for any incoming
connection.
I will create an instance of object for each conection that:
Listen()
sshbind = ssh_bind_new();
session = ssh_new();
if ( ssh_bind_listen(sshbind) < 0 )
....
WaitClient()
if ( ssh_bind_accept( sshbind, session ) == SSH_ERROR )
any suggestions?... thanks!