CESNET / libnetconf

C NETCONF library
Other
113 stars 84 forks source link

update sshkey problem in netconf #276

Open zyboy2000 opened 5 years ago

zyboy2000 commented 5 years ago

I use libssh(0.7.3) in netconf , Update the key when communicating(rpc), After that, there's no way to communicate anymore , Could it be that the LIBSSH version is too low ? thank you!

netopeer-server[5713]: Writing message (session 2): ssh_packet_socket_callback: packet: read type 30 [len=92,padding=21,comp=70,payload=70] ssh_packet_process: Dispatching handler for packet type 30 ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT ssh_server_ecdh_init: SSH_MSG_KEXDH_REPLY sent packet_send2: packet: wrote [len=636,padding=9,comp=626,payload=626] packet_send2: packet: wrote [len=12,padding=10,comp=1,payload=1] ssh_server_ecdh_init: SSH_MSG_NEWKEYS sent ssh_socket_unbuffered_write: Enabling POLLOUT for socket ssh_packet_socket_callback: packet: read type 21 [len=28,padding=26,comp=1,payload=1] ssh_packet_process: Dispatching handler for packet type 21 ssh_packet_newkeys: Received SSH_MSG_NEWKEYS can't receive any RPC any more

michalvasko commented 5 years ago

Hi, if this is the full libssh output then it seems likely, try updating it.

Regards, Michal