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

Re: Implementing a ssh server without ssh_bind_listen()


On Friday 18 February 2011 20:37:25 you wrote:
> Hi Andreas,

Hi Jan,
 
> I tried libssh 0.4.90 and noticed that part of my problem was caused by
> the fact that 0.4.80 and 0.4.90 still compile as libssh.so.4 and were
> confused at runtime with an old version of libssh that my OpenSuse
> ships, which is also libssh.so.4 even so internal structures seem to
> have changed.

well the client code didn't change and the server support was more or less not 
useable. That's why we just increased the minor version.

> 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.

> Other minor details: As you can see the trace still talks about
> ssh_accept and the libraries were installed into /usr/lib and
> not /usr/lib64.

cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_SUFFIX=64 ..


Cheers,


	-- andreas

-- 
Andreas Schneider                   GPG-ID: F33E3FC6
www.cryptomilk.org                asn@xxxxxxxxxxxxxx


Follow-Ups:
Re: Implementing a ssh server without ssh_bind_listen()Jan Willamowius <jan@xxxxxxxxxxxxxx>
References:
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>
Archive administrator: postmaster@lists.cynapses.org