[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Implementing a ssh server without ssh_bind_listen()
[Thread Prev] | [Thread Next]
- Subject: Re: Implementing a ssh server without ssh_bind_listen()
- From: Jan Willamowius <jan@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Fri, 18 Feb 2011 21:54:18 +0100
- To: libssh@xxxxxxxxxx
Andreas Schneider wrote: > > With the latest version (after switching form ssh_accept() to > > ssh_handle_key_exchange()), I only get this trace output: > > > [3] Enabling POLLOUT for socket > > [3] ssh_accept: Actual state : 2 > > [3] ssh_accept: Actual state : 2 > > > > But ssh_handle_key_exchange() never returns and no login is possible. > > I don't know how your code looks like but examples/samplesshd-kbdint is > working just fine for me. While samplesshd.c worked fine in 0.4.80, I get the same error when I run samplesshd from 0.4.90: ./samplesshd -d ~/tmp/ssh_host_dsa_key -r ~/tmp/ssh_host_rsa_key --port 7000 -v 127.0.0.1 [3] Enabling POLLOUT for socket [3] ssh_accept: Actual state : 2 [3] ssh_accept: Actual state : 2 I'm connecting with ssh -p 7000 127.0.0.1 Regards, Jan -- Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/
Re: Implementing a ssh server without ssh_bind_listen() | Andreas Schneider <asn@xxxxxxxxxxxxxx> |
Implementing a ssh server without ssh_bind_listen() | Jan Willamowius <jan@xxxxxxxxxxxxxx> |
Re: Implementing a ssh server without ssh_bind_listen() | Andreas Schneider <asn@xxxxxxxxxxxxxx> |
Re: Implementing a ssh server without ssh_bind_listen() | Jan Willamowius <jan@xxxxxxxxxxxxxx> |
Re: Implementing a ssh server without ssh_bind_listen() | Andreas Schneider <asn@xxxxxxxxxxxxxx> |