CESNET / netopeer2

NETCONF toolset
BSD 3-Clause "New" or "Revised" License
296 stars 187 forks source link

[ERR]: LN: SSH key exchange error (Socket error: disconnected). #1435

Open guoqi78 opened 1 year ago

guoqi78 commented 1 year ago

hi, michalvasko, could you help to check my problem:

netopeer2-serve:

[2023/07/05 23:47:11.559385, 1] ssh_packet_server_curve25519_init: Could not sign the session id [ERR]: LN: SSH key exchange error (Could not sign the session id). [INF]: LN: Trying to connect via IPv4 to 10.1.1.90:4334. [INF]: LN: Trying to connect via IPv4 to 127.0.0.1:4334. [INF]: LN: getsockopt() error (Connection refused). [INF]: LN: Accepted a connection on 127.0.0.1:830. [INF]: SR: Session 174 (user "root") created. [2023/07/05 23:47:12.365172, 1] ssh_packet_server_curve25519_init: Could not sign the session id [ERR]: LN: SSH key exchange error (Could not sign the session id). [INF]: LN: Trying to connect via IPv4 to 127.0.0.1:4334. [INF]: LN: getsockopt() error (Connection refused). [INF]: LN: Trying to connect via IPv4 to 127.0.0.1:4334. [INF]: LN: getsockopt() error (Connection refused). [INF]: LN: Successfully connected to 10.1.1.90:4334 over IPv4. [INF]: SR: Session 175 (user "root") created. [ERR]: LN: SSH key exchange error (Socket error: disconnected).

netopeer-cli:

listen Waiting 60s for an SSH Call Home connection on port 4334... nc ERROR: Starting the SSH session failed (Received SSH_MSG_DISCONNECT: 11:Bye Bye). cmd_listen: Receiving SSH Call Home on port 4334 as user "root" failed.

Question: Does it depend on the OPENSSH which not yet installed in the ARM platform? And please give me some advice , thank you!

michalvasko commented 1 year ago

I have never seen the error so I will not be able to help. But it is an SSH problem so try updating the installed libssh, you mentioning ARM increases the chances you are using some old/faulty version of it.