Skip to content

[BUG] RDP through jumpserver not working #904

Description

@Akurosia

Title

RDP through jumpserver not working

Platform

Website - Chrome

Server Installation Method

Docker

Version

2.4.0

Troubleshooting

  • I have examined logs and tried to find the issue
  • I have reviewed opened and closed issues
  • I have tried restarting the application
  • I have checked open issues and ensured this is not a duplicate

The Problem

Also tested on dev-2.5.0

Starting RDP with a jumpserver setup will not connect and result in "Server refused connection (wrong security type?)"

Without jumpserver it works fine and also connection from the jump host works by itself

the docker container throws

[termix2] 2026-06-26T20:05:06.484507928Z [8:05:06 PM] [INFO] [🖥️] Host key verified successfully [op:host_key_verified,user:57LCT1U-J68uqKvbsPCvt,host:11]
[termix2] 2026-06-26T20:05:07.192115923Z [8:05:07 PM] [INFO] [🖥️] Host key verified successfully [op:host_key_verified,user:57LCT1U-J68uqKvbsPCvt,host:11]
[termix2] 2026-06-26T20:05:10.456676989Z [8:05:10 PM] [ERROR] [📊] Jump host 2/2 connection failed [op:jump_host_connect,host:64]
[termix2] 2026-06-26T20:05:10.456783746Z Error: Connection lost before handshake
[termix2] 2026-06-26T20:05:10.456793723Z     at makeError (/app/node_modules/ssh2/lib/protocol/utils.js:142:15)
[termix2] 2026-06-26T20:05:10.456797742Z     at /app/node_modules/ssh2/lib/client.js:753:13
[termix2] 2026-06-26T20:05:10.456801029Z     at Channel.<anonymous> (/app/node_modules/ssh2/lib/client.js:808:7)
[termix2] 2026-06-26T20:05:10.456804137Z     at Channel.emit (node:events:521:24)
[termix2] 2026-06-26T20:05:10.456806846Z     at endReadableNT (node:internal/streams/readable:1735:12)
[termix2] 2026-06-26T20:05:10.456809720Z     at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
[termix2] 2026-06-26T20:05:10.456812803Z   level: 'protocol',
[termix2] 2026-06-26T20:05:10.456815620Z   fatal: true
[termix2] 2026-06-26T20:05:10.456818666Z }
[termix2] 2026-06-26T20:05:10.457062979Z [8:05:10 PM] [ERROR] [📊] Stats collector connection failed [op:stats_connect_failed,host:10]
[termix2] 2026-06-26T20:05:10.457144648Z Error: Failed to establish jump host chain
[termix2] 2026-06-26T20:05:10.457154484Z     at file:///app/dist/backend/backend/ssh/host-metrics.js:817:23
[termix2] 2026-06-26T20:05:10.457156889Z     at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
[termix2] 2026-06-26T20:05:10.457158540Z     at async SSHConnectionPool.getConnection (file:///app/dist/backend/backend/ssh/ssh-connection-pool.js:49:28)
[termix2] 2026-06-26T20:05:10.457160330Z     at async withConnection (file:///app/dist/backend/backend/ssh/ssh-connection-pool.js:192:20)
[termix2] 2026-06-26T20:05:10.457161733Z     at async file:///app/dist/backend/backend/ssh/host-metrics.js:989:24
[termix2] 2026-06-26T20:05:10.457163042Z     at async wrappedRequest (file:///app/dist/backend/backend/ssh/host-metrics-state.js:9:36)
[termix2] 2026-06-26T20:05:10.457164496Z     at async RequestQueue.processQueue (file:///app/dist/backend/backend/ssh/host-metrics-state.js:34:21)
[termix2] 2026-06-26T20:05:10.755816226Z [8:05:10 PM] [ERROR] [📊] Stats collector connection failed [op:stats_connect_failed,host:64]
[termix2] 2026-06-26T20:05:10.755916351Z Error: Connection lost before handshake
[termix2] 2026-06-26T20:05:10.755934226Z     at makeError (/app/node_modules/ssh2/lib/protocol/utils.js:142:15)
[termix2] 2026-06-26T20:05:10.755938261Z     at /app/node_modules/ssh2/lib/client.js:753:13
[termix2] 2026-06-26T20:05:10.755941120Z     at Channel.<anonymous> (/app/node_modules/ssh2/lib/client.js:808:7)
[termix2] 2026-06-26T20:05:10.755943912Z     at Channel.emit (node:events:521:24)
[termix2] 2026-06-26T20:05:10.755946266Z     at endReadableNT (node:internal/streams/readable:1735:12)
[termix2] 2026-06-26T20:05:10.755948694Z     at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
[termix2] 2026-06-26T20:05:10.755951075Z   level: 'protocol',
[termix2] 2026-06-26T20:05:10.755953230Z   fatal: true
[termix2] 2026-06-26T20:05:10.755962365Z }

While the ui only says:

Connection failed
Server refused connection (wrong security type?)

How to Reproduce

Setup a valid ssh connection used as a jumpserver (and make sure the RDP server can be reached from here)
Setup an RDP connection using the ssh server as a jump host

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    No fields configured for Bug.

    Projects

    Status
    Ready for Release

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions