SSH (with SSHJ) does work for all servers except one
- Dominant language
- Java
- Stars
- 51.8k
- Forks
- 4.4k
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 188
Description
I'm using Ubuntu 21.10 with DBeaver 22.0.3.
I have mutliple SSH profiles configured, _all_ using the bundled SSHJ with the exact same connection settings. The only difference is the hostname, port and username, of course. _All_ use the same private key, of this format: `-----BEGIN RSA PRIVATE KEY-----`
However, on _one single of these_ connections I get the error `Exhausted available authentication methods`. This connection does work on the shell via `ssh connection-name`, however!
If I open the general settings (last entry in main menu "Window") and there go to Connections -> SSH2, then the known hosts tab does _not_ list the server in question, but it actually is in the `known_hosts` _file_ (that's why it works from the shell)!
The only difference I see between the lines in `known_hosts` _file_ is this: the working/DBeaver-listed ones use `ssh-rsa` and the not-working/not-listed one uses `ssh-ed25519` as encryption algorithm. But this is determined by the foreign server and out of my control, AFAIK (because this is the key algorithm used by the server key).
Is this a bug or do I somehow have to enable SSHJ/DBeaver to be able to handle the ed25519 algorithm from the `known_hosts` file?
Contributor guide
Assessment
This issue has not been assessed yet.