[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fw:Re:ssh_handle_key_exchange timeout in some machine
[Thread Prev] | [Thread Next]
- Subject: Re: Fw:Re:ssh_handle_key_exchange timeout in some machine
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 30 Nov 2017 08:47:34 +0100
- To: libssh@xxxxxxxxxx
On Saturday, 14 October 2017 13:29:12 CET 312 wrote: > The difference are : > > My env are: > libssh 0.7.5 > fail client: openssh 6.6 > successfully client: openssh 7.3 > And I found in this thread openssh6.6 have some bug that may caused some > issue to make connection fail. > https://bbs.archlinux.org/viewtopic.php?id=189535 > But I am not really understand it completely. Could you check if this fixes it: https://git.libssh.org/projects/libssh.git/commit/? id=380390c4b6dca9bda52707807b3ee577f758b107 > > > > > > > > -------- 转发邮件信息 -------- > 发件人:"312" <moan1223@xxxxxxx> > 发送日期:2017-10-14 12:21:35 > 收件人:312 <moan1223@xxxxxxx> > 抄送人:"libssh@xxxxxxxxxx" <libssh@xxxxxxxxxx> > 主题:Re:ssh_handle_key_exchange timeout in some machine > > My env are: > libssh 0.7.5 > fail client: CentOS Linux release 7.2.1511 (Core) > successfully client: window 10 cygwin > > > > > > > > At 2017-10-14 12:05:52, "312" <moan1223@xxxxxxx> wrote: > > Dear libssh developer, > > > I found that only when some client, ssh_handle_key_exchange function will > timeout. For example, > If I started a ssh sever and connect the server by 'ssh myuser@10.104.196.18 > -P 6990' The server output log like this. Because I know little about > libssh internal, so I cannot find why this only happened on some ssh > clients. And I have no idea on how to further debug this issue. I need > someone to give me some clues. Thanks. > ~~~ > [zhengjie@localhost examples]$ sudo ./ssh_server_fork > --ecdsakey=/etc/ssh/ssh_host_ecdsa_key -d ~/.ssh/id_dsa -r > /etc/ssh/ssh_host_rsa_key -p 6990 -v 10.104.196.18 [2017/10/14 > 11:48:28.545161, 3] packet_send2: packet: wrote > [len=28,padding=11,comp=16,payload=16] [2017/10/14 11:48:28.545897, 3] > ssh_socket_pollcallback: Received POLLOUT in connecting state [2017/10/14 > 11:48:28.546206, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for > socket [2017/10/14 11:48:38.556532, 3] ssh_handle_key_exchange: > ssh_handle_key_exchange: current state : 2 > > > [2017/10/14 11:48:38.556640, 3] ssh_socket_unbuffered_write: Enabling > POLLOUT for socket [2017/10/14 11:48:38.556671, 3] packet_send2: packet: > wrote [len=28,padding=11,comp=16,payload=16] start to bindbegin to > fork[2017/10/14 11:51:06.217847, 3] packet_send2: packet: wrote > [len=28,padding=11,comp=16,payload=16] [2017/10/14 11:51:06.218884, 3] > ssh_socket_pollcallback: Received POLLOUT in connecting state [2017/10/14 > 11:51:06.220702, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for > socket [2017/10/14 11:51:16.229942, 3] ssh_handle_key_exchange: > ssh_handle_key_exchange: current state : 2 > > > [2017/10/14 11:51:16.230105, 3] ssh_socket_unbuffered_write: Enabling > POLLOUT for socket [2017/10/14 11:51:16.230134, 3] packet_send2: packet: > wrote [len=28,padding=11,comp=16,payload=16] start to bindbegin to > forkstart to bindbegin to fork[2017/10/14 11:51:31.926009, 3] packet_send2: > packet: wrote [len=28,padding=11,comp=16,payload=16] [2017/10/14 > 11:51:31.926863, 3] ssh_socket_pollcallback: Received POLLOUT in > connecting state [2017/10/14 11:51:31.927066, 3] > ssh_socket_unbuffered_write: Enabling POLLOUT for socket [2017/10/14 > 11:51:41.938226, 3] ssh_handle_key_exchange: ssh_handle_key_exchange: > current state : 2 > > > [2017/10/14 11:51:41.938326, 3] ssh_socket_unbuffered_write: Enabling > POLLOUT for socket [2017/10/14 11:51:41.938352, 3] packet_send2: packet: > wrote [len=28,padding=11,comp=16,payload=16] start to bindbegin to > forkstart to bindbegin to forkstart to bindbegin to fork > ^C[zhengjie@localhost examples]$ sudo ./ssh_server_fork > --ecdsakey=/etc/ssh/ssh_host_ecdsa_key -d ~/.ssh/id_dsa -r > /etc/ssh/ssh_host_rsa_key -p 6990 -v 10.104.196.18 [2017/10/14 > 11:55:49.005142, 3] packet_send2: packet: wrote > [len=28,padding=11,comp=16,payload=16] [2017/10/14 11:55:49.006125, 3] > ssh_socket_pollcallback: Received POLLOUT in connecting state [2017/10/14 > 11:55:49.007918, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for > socket [2017/10/14 11:55:59.017861, 3] ssh_handle_key_exchange: > ssh_handle_key_exchange: current state : 2 > > > [2017/10/14 11:55:59.018245, 3] ssh_socket_unbuffered_write: Enabling > POLLOUT for socket [2017/10/14 11:55:59.018275, 3] packet_send2: packet: > wrote [len=28,padding=11,comp=16,payload=16] start to bindbegin to fork > > > ~~~ > > > Best Regards > Zhengjie > > > > 【网易自营】好吃到爆!鲜香弹滑加热即食,经典13香/麻辣小龙虾仅75元3斤>> > > > > 【网易自营|30天无忧退货】仅售同款价1/4!MUJI制造商“2017秋冬舒适家居拖鞋系列”限时仅34.9元>> -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.org asn@xxxxxxxxxxxxxx
Archive administrator: postmaster@lists.cynapses.org