Use `SSHJ` implementation by default to support ed25519 keys
See original GitHub issueSystem information:
- Operating system (distribution) and version – doesn’t matter (in my case, latest macOS)
- DBeaver version ersion 22.0.0.202203060510)
- Additional extensions
Connection specification:
- Database name and version Postgres, doesn’t matter
- Driver name Postgres driver (default one)
- Do you use tunnels or proxies (SSH, SOCKS, etc)? SSH port forwarding – it works well but only with RSA or .pem keys. If I use ed25519, it fails
Describe the problem you’re observing:
invalid privatekey: [B@3e17e4ee
– see screenshot:
Steps to reproduce, if exist:
Straightforward – just use an ed25519 key
Include any warning/errors/backtraces from the logs
N/A
Additional info
https://mkyong.com/java/jsch-invalid-privatekey-exception/ and https://github.com/dbeaver/dbeaver/search?q=JSch&type= tell that the problem is most likely in the lib JSch that doesn’t support ed25519. At the same time, this format is becoming more and more popular, and our (Database Lab) users start to complain about the inability to work with Postgres thin clones from DBeavier when SSH port forwarding is a requirement. Please fix it.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Upgrade Your SSH Key to Ed25519 - Medium
So you can keep your old SSH keys and generate a new one that uses Ed25519. This way you can still log in...
Read more >Setting up SSH with ED25519 user and host keys for ... - MTT
We are going to set up our SSH server to only allow connections from non-root accounts using public-key authentication instead of passwords.
Read more >How to secure your SSH server with public key Ed25519 ...
Lets generate a fresh pair of Ed25519 keys on the client machine, so not on the server-side. Use a passphrase to secure your...
Read more >ssh - How to accept only user identity keys of type ed25519 on ...
The main (non-default) sshd_config settings I'm using on this server include: The only host key enabled: HostKey /etc/ssh/ssh_host_ed25519_key ...
Read more >ed25519 ssh keys being ignored, new droplet defaults to user ...
I want to create a new droplet using this public key using the ed25519 implementation of EdDSA:ssh-ed25519 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello, @NikolayS! Have you tried to switch to another ssh library used to establish connection tunnel? It can be done in Advanced settings:
Maybe SSHJ could become the default?