[Bug]: Could not prepare the SSH environment: Error invoking remote method 'desktop:ensure-ssh-environment': SshCommandError: Host key verification failed.#5869

openedAug 9, 2026byWwebtek-dev

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

Can't connect to any server this app is fucking garbage zero support anywhere why don't it just ask for the fucking password like putty ffs i dont even have ssh keys on this server

Expected behavior

make it work

Actual behavior

it's garbage

Impact

Blocks work completely

Version or commit

No response

Environment

No response

Logs or stack traces

shell
1

Screenshots, recordings, or supporting files

No response

Workaround

No response

Synced from GitHub

Try:

  1. Calming down
  2. Run: ssh-keygen -R hostname.of.other.computer && ssh-keyscan hostname.of.other.computer >> ~/.ssh/known_hosts

Tested Linux desktop on current main 44df336016. Settings → Connections → Add environment → SSH reproduces this message when the server’s host key is not trusted. The same target fails outside T3 with ssh -o BatchMode=yes ubuntu@127.0.0.1 true; supplying its locally verified host public keys lets SSH proceed to user authentication.

Host-key verification happens before password authentication. Connect once using ssh user@host from a terminal on the computer running T3 Code, verify the displayed fingerprint against the server’s fingerprint, and accept it if it matches. If SSH reports a changed key, verify why it changed before updating the saved entry. Then retry in T3 Code. A password cannot resolve a host-key verification failure.

Closing as SSH host-trust setup rather than a T3 authentication defect.

Linux desktop rejecting an untrusted SSH host