Skip to content

Host key checking causes issues during connection #34

@usrme

Description

@usrme

If a new host is added to the SSH configuration and a connection attempt is made, then a prompt like the following is presented:

The authenticity of host 'host (host)' can't be established.
ED25519 key fingerprint is ...
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])?

Typing "yes" only works in some instances and even if it does, the UI's banner shows that the host was added to the list of known hosts and then returns back to the main UI view with the list of configured hosts. Then, when choosing the same host, the SSH connection is opened immediately.

I thought I could remedy this with the 'StrictHostKeyChecking' option, setting it at either "no" or "accept-new", but that also resulted in the same behavior described above.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions