Hello,
since the last update to 2023.2.1.0 we have issues with the ssh connections through the devolutions gateway.
It's working without the gateway from RDM. The settings are the same. Seems that the Kex handling is not working.
Log - ssh connection through gateway
[21.06.2023 14:29:07] Devolutions Protocols version: 2023.6.14.1 Windows [21.06.2023 14:29:07] Terminal font: Courier New [Courier New, fixed=True] [21.06.2023 14:29:07] Starting SSH, verbose level: 4 [21.06.2023 14:29:07] Setting up connection [21.06.2023 14:29:07] Connecting to port: 8181 (IP any) [21.06.2023 14:29:07] Sending pre-connection PDU: 765 length [21.06.2023 14:29:09] Disconnection in progress [21.06.2023 14:29:09] Bytes sent: 24, Bytes received: 0 [21.06.2023 14:29:09] Packets sent: 0, Packets received: 0 [21.06.2023 14:29:09] Kex completed: 0 [21.06.2023 14:29:09] Disconnecting
With putty I can connect from the gateway to the server.
RDM 2023.2.9.0 64-bit
Devolutions Server 2023.2.1.0
Devolutions Gateway 2023.2.1.0
Do you have any idea?
Hello,
The engineering team is currently looking into the issue, we will send you an update as soon as we have one.
Best regards,
Richard Boisvert
Hello,
Could you please export the Devolutions Gateway logs (Administration > Devolutions Gateway from the web interface), click ... at the end of the line of the Gateway, Logs, and then download. You can then send them to service@devolutions.net , in case there is any sensitive information. Please add the URL of this thread as well so it can be easily referenced.

Best regards,
Richard Boisvert
f2d792c0-9d27-4ffb-88a8-3bcb52668024.png
2d092554-5e93-4b61-b07f-49756204e850.png
I've sent it per mail.
Hello,
Thank you, I have sent the logs to the engineering team.
Could you also confirm that you are using the SSH entry in RDM, and not the (deprecated) putty entry?
Best regards,
Richard Boisvert
Hello Richard,
yes the SSH entry in RDM.
Best regards,
Thorsten

With devolutions gateway
[23.06.2023 09:05:11] Devolutions Protocols version: 2023.6.14.1 Windows [23.06.2023 09:05:11] Terminal font: Courier New [Courier New, fixed=True] [23.06.2023 09:05:11] Starting SSH, verbose level: 4 [23.06.2023 09:05:11] Setting up connection [23.06.2023 09:05:11] Connecting to port: 8181 (IP any) [23.06.2023 09:05:11] Sending pre-connection PDU: 754 length [23.06.2023 09:05:11] SSH banner: SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.7 [23.06.2023 09:05:11] Sending kex init [23.06.2023 09:05:11] Protocol error: unexpected packet size [23.06.2023 09:05:11] Disconnection in progress [23.06.2023 09:05:11] Bytes sent: 896, Bytes received: 77 [23.06.2023 09:05:11] Packets sent: 1, Packets received: 0 [23.06.2023 09:05:11] Kex completed: 0 [23.06.2023 09:05:11] Pending kex: 1 [23.06.2023 09:05:11] Disconnecting
Without gateway
[23.06.2023 09:06:55] Devolutions Protocols version: 2023.6.14.1 Windows [23.06.2023 09:06:55] Terminal font: Courier New [Courier New, fixed=True] [23.06.2023 09:06:55] Starting SSH, verbose level: 4 [23.06.2023 09:06:55] Setting up connection [23.06.2023 09:06:55] Connecting to port: 22 (IP any) [23.06.2023 09:06:55] SSH banner: SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.7 [23.06.2023 09:06:55] Sending kex init [23.06.2023 09:06:55] Received kex init [23.06.2023 09:06:55] Selected algorithms: curve25519-sha256, ssh-ed25519, chacha20-poly1305@openssh.com, chacha20-poly1305@openssh.com, implicit by cipher, implicit by cipher, none, none [23.06.2023 09:06:55] Sending Ed25519 kex init [23.06.2023 09:06:55] Received Ed25519 kex reply [23.06.2023 09:06:55] Successfully authentified server [23.06.2023 09:06:55] Sending new keys message [23.06.2023 09:06:55] Received new keys message [23.06.2023 09:06:55] Sending userauth service request [23.06.2023 09:06:55] Received extension info message [23.06.2023 09:06:55] Server accepts public key types: ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com [23.06.2023 09:06:55] Received service accepted message [23.06.2023 09:06:55] Sending userauth init request [23.06.2023 09:06:55] Received userauth failure: publickey,password [23.06.2023 09:06:55] Starting password authentication [23.06.2023 09:06:55] Sending userauth password request [23.06.2023 09:06:55] Received userauth success [23.06.2023 09:06:55] User authenticated successfuly by password [23.06.2023 09:06:55] Sending session channel open request: 0/- [23.06.2023 09:06:56] Received global request: hostkeys-00@openssh.com , no need to reply [23.06.2023 09:06:56] Received channel open confirmation: 0/0 WS 200000/0 MPS 32000/32768 [23.06.2023 09:06:56] Sending pty request: 0/0 xterm-256color width = 217 height = 64 [23.06.2023 09:06:56] Received channel success: 0/0 [23.06.2023 09:06:56] Sending environment variable request: LANG=en_US.UTF-8 0/0 [23.06.2023 09:06:56] Received channel success: 0/0 [23.06.2023 09:06:56] Sending shell request: 0/0 [23.06.2023 09:06:56] Received window adjust: 0/0 2097152 [23.06.2023 09:06:56] Received channel success: 0/0 [23.06.2023 09:06:56] Sending pty size change: 0/0 width = 217 height = 64 [23.06.2023 09:06:56] New Data 164 bytes
ssh_RDM1.png
ssh_RDM.png
Hello,
The Devolutions Gateway engineer does not report any issues on the Gateway side. I am verifying with our SSH specialist to see if the issue could be identified at that end.
Best regards,
Richard Boisvert
Hello,
A new version of the Devolutions Gateway is now available with the fix for the SSH sessions not working: https://cdn.devolutions.net/download/DevolutionsGateway-x86_64-2023.2.2.0.msi
Please let us know if you have any issues after performing the upgrade!
Best regards,
Richard Boisvert
Hello Richard,
thank you. The update resolved this issue. You can set it as closed.
Best wishes,
Thorsten
Hello Thorsten,
Thank you for confirming the issue is now resolved!
Best regards,
Richard Boisvert