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.

ed25519 keys not working

See original GitHub issue

Not sure if this is an issue here or upstream, but I just wanted to give a heads up that ed25519 host keys do not appear to be supported.

When running e.g.

conn = new require('ssh2')()
conn.connect({
  host: 'host.local',
  port: "22",
  username: "bmh",
  agent: process.env['SSH_AUTH_SOCK'],
  debug: console.log})

The output includes:

DEBUG: (local) Host key formats: ssh-rsa,ssh-dss DEBUG: (remote) Host key formats: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ssh-ed25519

I doubt there’s anything on my end (Mac OS X 10.11.1; node 5.0.0; fresh package install of ssh2@04.12); it looks like the support is simply not yet in ssh2-streams. I can re-file a bug there, if that is preferable.

🍻

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:2
  • Comments:18 (8 by maintainers)

github_iconTop GitHub Comments

8reactions
mscdexcommented, Apr 25, 2019

Full Ed25519 support now available in ssh2 v0.8.3 when used with node v12.0.0.

2reactions
stefreakcommented, Mar 30, 2017

https://github.com/openssl/openssl/issues/309 says “x25519 is in [OpenSSL] 1.1”

Can this be implemented now? I would appreciate it enormously 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ssh-ed25519 key not working with GitLab Enterprise Edition ...
I checked the documentation for Gitlab. It seems that ED25519 key has been supported by Gitlab since version 12.10. Any idea?
Read more >
1962414 – ed25519 keys do not work when FIPS is enabled
1. Pull ocp 4.7 installer with 4.7.7 rhcos live iso 2. create ssh ed25519 keys using ssh-keygen -t ed25519 -N '' -f <path>...
Read more >
SSH - Key signing of ED25519 style keys does not work
Trying to set up a SSH Cert Authority so I can centralize new key setup rather than modifying the authorized keys on each...
Read more >
ED25519 Keys not supported for SSH authentication - JFrog
Problem Description: Currently, it is not possible to use the ED25519 keys with Artifactory. From, the Git client version 2.35.2, RSA keys ...
Read more >
Enable ed25519 SSH Keys Auth on Ubuntu 18.04
Troubleshooting SSHD Key Problems · Verify Server Key Permissions · Verify SSH Key File Permissions on Cygwin Client · Verify SSH Key File ......
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