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

Re: problem connecting to ubiquity (ubnt.com) devies


Hi,

libssh 0.5.2 is quite old. Could you tell us if the same problems happen
with the latest 0.6 and with master. Please take them from git as we
haven't resolved the server problems yet.

regards,

Aris

Le 26/02/15 18:13, vicent roca daniel a écrit :
> Hello guys,
> I'm using libssh to extract some info from a linux devices.
> I have no problem with some dropbear sessions, but I can't connect to
> others server versions.
>
>
> Dropbear v0.51  -> No problems
> Dropbar server v2013.58 --> Can't connect (timeout)
>
> Here a log of the error:
>
> [192.168.62.254] connecting...
> [func] entering function ssh_connect line 629 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/client.c
> [1] libssh 0.5.2 (c) 2003-2010 Aris Adamantiadis (aris@xxxxxxxxxxxx
> <mailto:aris@xxxxxxxxxxxx>) Distributed under the LGPL, please refer
> to COPYING file for information about your rights, using threading
> threads_noop
> [func]  entering function ssh_socket_connect line 741 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/socket.c
> [func]   entering function ssh_connect_host_nonblocking line 334 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/connect.c
> [3] host 192.168.62.254 matches an IP address
> [func]   leaving function ssh_connect_host_nonblocking line 395 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/connect.c
> [2] Nonblocking connection socket: 4
> [func]  leaving function ssh_socket_connect line 752 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/socket.c
> [2] Socket connecting, now waiting for the callbacks to work
> [3] ssh_connect: Actual timeout : 10000
> [func]  entering function ssh_handle_packets line 435 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/session.c
> [3] Received POLLOUT in connecting state
> [func]   entering function socket_callback_connected line 58 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/client.c
> [1] Socket connection callback: 1 (0)
> [func]    entering function ssh_client_connection_callback line 492 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/client.c
> [func]    leaving function ssh_client_connection_callback line 585 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/client.c
> [func]   leaving function socket_callback_connected line 73 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/client.c
> [func]  leaving function ssh_handle_packets line 460 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/session.c
> [func]  entering function ssh_handle_packets line 435 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/session.c
> [func]  leaving function ssh_handle_packets line 460 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/session.c
> [func]  entering function ssh_handle_packets line 435 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/session.c
> [func]   entering function callback_receive_banner line 93 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/client.c
> [3] Received banner: SSH-2.0-dropbear_2013.58
> [func]    entering function ssh_client_connection_callback line 492 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/client.c
> [1] SSH server banner: SSH-2.0-dropbear_2013.58
> [1] Analyzing banner: SSH-2.0-dropbear_2013.58
> [func]     entering function ssh_send_banner line 145 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/client.c
> [func]      entering function ssh_socket_write line 586 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/socket.c
> [func]       entering function ssh_socket_nonblocking_flush line 608
> in /build/libssh-E2lw8o/libssh-0.5.4/src/socket.c
> [3] Enabling POLLOUT for socket
> [func]       leaving function ssh_socket_nonblocking_flush line 654 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/socket.c
> [func]      leaving function ssh_socket_write line 594 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/socket.c
> [func]     leaving function ssh_send_banner line 176 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/client.c
> [func]    leaving function ssh_client_connection_callback line 585 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/client.c
> [func]   leaving function callback_receive_banner line 116 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/client.c
> [func]  leaving function ssh_handle_packets line 460 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/session.c
> [func]  entering function ssh_handle_packets line 435 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/session.c
> [func]  leaving function ssh_handle_packets line 460 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/session.c
> [func]  entering function ssh_handle_packets line 435 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/session.c
> [func]  leaving function ssh_handle_packets line 460 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/session.c
> [1] Error : Timeout connecting to 192.168.62.254
> [3] ssh_connect: Actual state : 9
> [func] leaving function ssh_connect line 708 in
> /build/libssh-E2lw8o/libssh-0.5.4/src/client.c
> Error connecting to localhost: Timeout connecting to 192.168.62.254
>
>
> ¿Any help?
> Thank you :)


References:
problem connecting to ubiquity (ubnt.com) deviesvicent roca daniel <saptah@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org