Skip to content

Key mismastch error when the key should actually work fine #28

@Drugoy

Description

@Drugoy
$: cat ~/.ssh/config ~/.config/boring/.boring.toml
Host myhost
  HostName 1.2.3.4
  User myuser
  IdentityFile ~/.ssh/my.key

[[tunnels]]
name = 'to_myhost'
local = '2025'
host = 'myhost'

$: boring o -a
[01:02:34] ERROR Could not open tunnel 'to_myhost': could not setup SSH client: ssh: handshake failed: knownhosts: key mismatch
$: ssh myhost echo 123
This account is currently not available.

ssh command proves that ssh works (there is no '123' only because the remote user has shell set to /bin/false, so my keys are of course correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions