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.

Unsupported key exchange algorithm: curve25519-sha256@libssh.org

See original GitHub issue

I have configured an SSH connection with a key file in /home/user/.ssh/id_rsa_myproject and iIt worked yesterday in v126, but doesn’t work today in v127. I get the following error:

 SSH  Connecting to ip_address
Loading private key from  /home/user/.ssh/id_rsa_myproject
 X  Unsupported key exchange algorithm: curve25519-sha256@libssh.org
 SSH   X  Remote rejected opening a shell channel: Error: Not connected

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:8
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Eugenycommented, Jan 24, 2021

This was due to me having to downgrade Electron because of the native crashes in the new version, and the older Node doesn’t have support for c25519 exchanges. Please try this nightly build: https://nightly.link/Eugeny/terminus/workflows/windows/master/Installer (win) / https://nightly.link/Eugeny/terminus/workflows/macos/master/macOS .pkg (x86_64).zip (mac)

<div>nightly.link | Repository Eugeny/terminus | Workflow windows.yml | Branch master | Artifact Installer</div>
1reaction
Nobodyno-boopcommented, Jan 20, 2021

Updated from 1.2.5 to 1.2.7 and I got the same issue. Reverting back to 1.2.5 fixed the issue. Client is on latest stable Win10 and server is Ubuntu 20.4.

Reverting back, work for me. Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SFTPKeyExchanges: unsupported key exchange algorithm ...
What I Did. With this entry in my sftp.conf file: SFTPKeyExchanges ecdh-sha2-nistp256. On startup I get this error:
Read more >
Stronger Key exchange algorithms not support by Nessus
We are getting Authentication Failure - Local Checks Not Run (21745) due to unsupported key exchange algorithm: curve25519-sha256@libssh.org ...
Read more >
Git access by ssh fails with unsupported key exchange ...
git pull Unable to negotiate with 40.82.217.103 port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1 ...
Read more >
FAQ: What are the supported and unsupported Key Exchange ...
The following are the key exchange algorithms that are 'not supported' for File Processor Connector to connect to a FTP or SFTP server...
Read more >
Git connection fails due to unsupported key exchange algorithm
currently using TeamCity 9.0.1 (build 32116) and with ssh configured with KexAlgorithms diffie-hellman-group-exchange-sha256 we get JSchException: Algorithm ...
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