Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH KEY issues in netopeer #185

Open
zyboy2000 opened this issue Oct 26, 2019 · 3 comments
Open

SSH KEY issues in netopeer #185

zyboy2000 opened this issue Oct 26, 2019 · 3 comments

Comments

@zyboy2000
Copy link

A netconf client(ODL), it updates the key once an hour, There's going to be a disconnect problem.(in libnetconf1.0),libssh version 0.7.5, Print the following information,Stop in “ ”ssh_packet_newkeys: Received SSH_MSG_NEWKEYS“

[14-34-17.433] [2019/10/25 14:34:04.481545, 3] ssh_packet_socket_callback: packet: read type 30 [len=92,padding=21,comp=70,payload=70]
[14-34-17.434] [2019/10/25 14:34:04.481827, 3] ssh_packet_process: Dispatching handler for packet type 30
[14-34-17.440] [2019/10/25 14:34:04.481853, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT
[14-34-17.444] [2019/10/25 14:34:04.493972, 2] ssh_server_ecdh_init: SSH_MSG_KEXDH_REPLY sent
[14-34-17.448] [2019/10/25 14:34:04.495248, 3] packet_send2: packet: wrote [len=636,padding=7,comp=628,payload=628]
[14-34-17.452] [2019/10/25 14:34:04.495860, 3] packet_send2: packet: wrote [len=12,padding=10,comp=1,payload=1]
[14-34-17.458] [2019/10/25 14:34:04.497518, 2] ssh_server_ecdh_init: SSH_MSG_NEWKEYS sent
[14-34-17.460] [2019/10/25 14:34:04.497840, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket
[14-34-17.472] [2019/10/25 14:34:04.548692, 3] ssh_packet_socket_callback: packet: read type 21 [len=28,padding=26,comp=1,payload=1]
[14-34-17.473] [2019/10/25 14:34:04.548935, 3] ssh_packet_process: Dispatching handler for packet type 21
[14-34-17.473] [2019/10/25 14:34:04.549306, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS

but in libnetconf2.0, libssh is same version 0.7.5, there is not problem, Print the following information,I wanted to find the difference in this treatment, but I couldn't find it.

[13-21-46.819] [2019/10/25 13:21:23.037422, 3] ssh_packet_socket_callback: packet: read type 30 [len=92,padding=21,comp=70,payload=70]
[13-21-46.823] [2019/10/25 13:21:23.037606, 3] ssh_packet_process: Dispatching handler for packet type 30
[13-21-46.831] [2019/10/25 13:21:23.037733, 3] ssh_packet_kexdh_init: Received SSH_MSG_KEXDH_INIT
[13-21-46.831] [2019/10/25 13:21:23.054528, 2] ssh_server_ecdh_init: SSH_MSG_KEXDH_REPLY sent
[13-21-46.831] [2019/10/25 13:21:23.054744, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket
[13-21-46.831] [2019/10/25 13:21:23.054841, 3] packet_send2: packet: wrote [len=636,padding=7,comp=628,payload=628]
[13-21-46.831] [2019/10/25 13:21:23.054943, 3] packet_send2: packet: wrote [len=12,padding=10,comp=1,payload=1]
[13-21-46.832] [2019/10/25 13:21:23.055054, 2] ssh_server_ecdh_init: SSH_MSG_NEWKEYS sent
[13-21-46.832] [2019/10/25 13:21:23.055298, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket
[13-21-46.832] [2019/10/25 13:21:23.057264, 3] ssh_packet_socket_callback: packet: read type 21 [len=28,padding=26,comp=1,payload=1]
[13-21-46.832] [2019/10/25 13:21:23.057403, 3] ssh_packet_process: Dispatching handler for packet type 21
[13-21-46.832] [2019/10/25 13:21:23.057523, 2] ssh_packet_newkeys: Received SSH_MSG_NEWKEYS
[13-21-46.832] [2019/10/25 13:21:23.057745, 3] ssh_socket_unbuffered_write: Enabling POLLOUT for socket
[13-21-46.832] [2019/10/25 13:21:23.057885, 3] packet_send2: packet: wrote [len=28,padding=14,comp=13,payload=13]
[13-21-46.832] [2019/10/25 13:21:23.057960, 3] channel_write_common: channel_write wrote 4 bytes

@michalvasko
Copy link
Member

Hi,
it seems there is a problem in libnetconf that is not present in libnetconf2. That is quite expected and the solution is obvious, use libnetconf2. I am sorry, but our support of libnetconf has ended years ago.

Regards,
Michal

@sivaprasadmsr
Copy link

Hi Team,

I am using callhome netconf-server(netopeer ) , and want to use ubuntu as callhome netconf-client. Is there any application for callhome netconf-client on ubuntu/linux.

Any help is much appreciated.
Thanks.

@michalvasko
Copy link
Member

Please do not ask duplicate questions and do not reply in irrelevant issues, you should have created a new one. But to answer, you can use our netopeer-cli, or any other NETCONF client (that supports Call Home), there should be more around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants