Issues when connecting to modern devices #14

Closed
opened 2026-04-21 09:40:15 +02:00 by tux · 2 comments
Owner

A SSH connection failed to a cisco switch which is not legacy but rather new, it seems the device offers only one kex algorithm which is not in the list on shellstations side.

2026-04-21T07:34:13.283123Z ERROR shellstation_lib::ssh: SSH target handshake through tunnel failed host=xxx.xxx.xxx.xxx port=22 error=No common Kex algorithm - ours: ["mlkem768x25519-sha256", "curve25519-sha256", "curve25519-sha256@libssh.org", "diffie-hellman-group-exchange-sha256", "diffie-hellman-group18-sha512", "diffie-hellman-group17-sha512", "diffie-hellman-group16-sha512", "diffie-hellman-group15-sha512", "diffie-hellman-group14-sha256", "diffie-hellman-group-exchange-sha1", "diffie-hellman-group14-sha1", "diffie-hellman-group1-sha1"], theirs: ["ecdh-sha2-nistp384"] error_debug=NoCommonAlgo { kind: Kex, ours: ["mlkem768x25519-sha256", "curve25519-sha256", "curve25519-sha256@libssh.org", "diffie-hellman-group-exchange-sha256", "diffie-hellman-group18-sha512", "diffie-hellman-group17-sha512", "diffie-hellman-group16-sha512", "diffie-hellman-group15-sha512", "diffie-hellman-group14-sha256", "diffie-hellman-group-exchange-sha1", "diffie-hellman-group14-sha1", "diffie-hellman-group1-sha1"], theirs: ["ecdh-sha2-nistp384"] }

A SSH connection failed to a cisco switch which is not legacy but rather new, it seems the device offers only one kex algorithm which is not in the list on shellstations side. `2026-04-21T07:34:13.283123Z ERROR shellstation_lib::ssh: SSH target handshake through tunnel failed host=xxx.xxx.xxx.xxx port=22 error=No common Kex algorithm - ours: ["mlkem768x25519-sha256", "curve25519-sha256", "curve25519-sha256@libssh.org", "diffie-hellman-group-exchange-sha256", "diffie-hellman-group18-sha512", "diffie-hellman-group17-sha512", "diffie-hellman-group16-sha512", "diffie-hellman-group15-sha512", "diffie-hellman-group14-sha256", "diffie-hellman-group-exchange-sha1", "diffie-hellman-group14-sha1", "diffie-hellman-group1-sha1"], theirs: ["ecdh-sha2-nistp384"] error_debug=NoCommonAlgo { kind: Kex, ours: ["mlkem768x25519-sha256", "curve25519-sha256", "curve25519-sha256@libssh.org", "diffie-hellman-group-exchange-sha256", "diffie-hellman-group18-sha512", "diffie-hellman-group17-sha512", "diffie-hellman-group16-sha512", "diffie-hellman-group15-sha512", "diffie-hellman-group14-sha256", "diffie-hellman-group-exchange-sha1", "diffie-hellman-group14-sha1", "diffie-hellman-group1-sha1"], theirs: ["ecdh-sha2-nistp384"] }`
Author
Owner

Fixed in #fb3b2f2

Fixed in #fb3b2f2
Author
Owner

Resolved in release 0.10.1

Resolved in release [0.10.1](https://git.fiedler.live/tux/shellstation/releases/tag/v0.10.0)
tux closed this issue 2026-04-21 22:05:42 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tux/shellstation#14
No description provided.