question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support ed25519 private keys for ssh tunnel

See original GitHub issue

Attempting to use an ed25519 private key for an ssh tunnel just results in the error com.jcraft.jsch.JSchException: invalid privatekey. The same works fine with an rsa key.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
serge-ridercommented, Mar 18, 2018

SSHJ extension will be published here - https://dbeaver.jkiss.org/update/sshj/

2reactions
serge-ridercommented, Sep 24, 2017

JSch (Java SSH client) doesn’t support this. There is a quite old feature request for ed25519 support (https://sourceforge.net/p/jsch/feature-requests/7/) but there is no any activity.

Perhaps we should replace SSH client with something more alive (e.g. https://github.com/hierynomus/sshj)

Read more comments on GitHub >

github_iconTop Results From Across the Web

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 Tunnel Won't connect with Ed25519-based key pair
What steps will reproduce the problem? 1. Setup Tunnel using Key pair (OpenSSH) 2. Specify a private key that is generated using Ed25519...
Read more >
Ed25519 for SSH - Peter's blog
This article is about the keys that are used for authentication in SSH – in particular about Ed25519, which is a fast and...
Read more >
Ed25519 SSH Keys Are Great, But Barriers Remain | Greg Burek
Ed25519 keys have been available since OpenSSH 6.5 (OpenSSH 8.0 ... Azure currently supports SSH protocol 2 (SSH-2) RSA public-private key ...
Read more >
How To Generate ed25519 SSH Key - Unix Tutorial
How To Generate ed25519 SSH Key · What is ed25519? ed25519 is a relatively new cryptography solution implementing Edwards-curve Digital Signature ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found