Skip to content

[BUG] Windows Client Fails Silently on Host Key Verification After Activating SSL #516

@Rdk88

Description

@Rdk88

Title

Windows Client Fails Silently on Host Key Verification After Activating SSL

Platform

App - Windows

Server Installation Method

Docker

Version

1.11.1

Troubleshooting

The Problem

When switching the Termix Docker container from HTTP to HTTPS/SSL, the Windows desktop client fails when connecting to any host, instead of prompting the user to accept the new host key like the browser client does.

How to Reproduce

  1. Have Termix running over HTTP with hosts configured
  2. Switch the Docker container to use SSL/HTTPS
  3. Attempt to connect to any host in the Windows desktop client

Additional Context

Log from server:

Error in host key verification [op:host_key_error,user:...,host:3]
TypeError: protocol._destruct is not a function
    at doFatalError (/app/node_modules/ssh2/lib/protocol/utils.js:189:14)
    at /app/node_modules/ssh2/lib/protocol/kex.js:1208:26
    at file:///app/dist/backend/backend/ssh/host-key-verifier.js:102:25
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)

Workaround

Access Termix via the browser — it correctly shows a popup to confirm the new host key.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    Status

    Bugs

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions