ONOS can establish a successful connection with netopeer2-server v2.1.23 paired with libssh v0.9.6. However, the connection fails due to SSH key exchange errors after upgrading to netopeer2-server v2.1.49 with libssh v0.10.6 or newer versions.
netopeer2-server log:
[INF]: LN: Accepted a connection on 0.0.0.0:830 from 192.168.113.56:56131.
[INF]: LN: Accepted a connection on 0.0.0.0:830 from 192.168.113.56:56132.
[INF]: SR: Session 291 (user "root", CID 5) created.
[INF]: SR: Session 292 (user "root", CID 5) created.
[2026/05/18 16:16:41.151272, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0)
[2026/05/18 16:16:41.151471, 1] ssh_socket_exception_callback: Socket error: disconnected
[ERR]: LN: SSH key exchange error (Socket error: disconnected).
[2026/05/18 16:16:41.153389, 1] ssh_kex_select_methods: kex error : no match for method server host key algo: server [rsa-sha2-512,rsa-sha2-256], client [ecdsa-sha2-nistp256,ecdsa-snistp521,ssh-rsa,ssh-dss]
[2026/05/18 16:16:41.153750, 1] ssh_socket_exception_callback: Socket exception callback: 2 (2)
[2026/05/18 16:16:41.153981, 1] ssh_socket_exception_callback: Socket error: No such file or directory
[ERR]: LN: SSH key exchange error (Socket error: No such file or directory).
ONOS can establish a successful connection with netopeer2-server v2.1.23 paired with libssh v0.9.6. However, the connection fails due to SSH key exchange errors after upgrading to netopeer2-server v2.1.49 with libssh v0.10.6 or newer versions.
netopeer2-server log:
[INF]: LN: Accepted a connection on 0.0.0.0:830 from 192.168.113.56:56131.
[INF]: LN: Accepted a connection on 0.0.0.0:830 from 192.168.113.56:56132.
[INF]: SR: Session 291 (user "root", CID 5) created.
[INF]: SR: Session 292 (user "root", CID 5) created.
[2026/05/18 16:16:41.151272, 1] ssh_socket_exception_callback: Socket exception callback: 1 (0)
[2026/05/18 16:16:41.151471, 1] ssh_socket_exception_callback: Socket error: disconnected
[ERR]: LN: SSH key exchange error (Socket error: disconnected).
[2026/05/18 16:16:41.153389, 1] ssh_kex_select_methods: kex error : no match for method server host key algo: server [rsa-sha2-512,rsa-sha2-256], client [ecdsa-sha2-nistp256,ecdsa-snistp521,ssh-rsa,ssh-dss]
[2026/05/18 16:16:41.153750, 1] ssh_socket_exception_callback: Socket exception callback: 2 (2)
[2026/05/18 16:16:41.153981, 1] ssh_socket_exception_callback: Socket error: No such file or directory
[ERR]: LN: SSH key exchange error (Socket error: No such file or directory).