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 OpenSSH standard formats

See original GitHub issue

So I tried to use this app to connect to my linux servers with SSH. I have been using ED25519 key for years without issues.

To my surprise this app doesn’t support the standard formats.

It would be nice if you could support .ppk ED25519 keys from putty. They look like this:

image

---- BEGIN SSH2 PUBLIC KEY ----
Comment: "ed25519-key-20191223"
AAAAC3NzaC1lZDI1NTE5AAAAIEtoKz1DY+4+wfOKRkcdk6yFiCcCOiGholHqxzBM
DhfE
---- END SSH2 PUBLIC KEY ----

The app won’t even import this…so let’s try exporting the key as OpenSSH right?

image

-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtz
c2gtZWQyNTUxOQAAACBLaCs9Q2PuPsHzikZHHZOshYgnAjohoaJR6scwTA4XxAAA
AKCDeUcig3lHIgAAAAtzc2gtZWQyNTUxOQAAACBLaCs9Q2PuPsHzikZHHZOshYgn
AjohoaJR6scwTA4XxAAAAEAi+rcNDSHqnYCNEytLOGV7aEjjiOikHiZCkXnsVzxm
EktoKz1DY+4+wfOKRkcdk6yFiCcCOiGholHqxzBMDhfEAAAAFGVkMjU1MTkta2V5
LTIwMTkxMjIzAQIDBAUGBwgJ
-----END OPENSSH PRIVATE KEY-----

Also doesn’t work…so let’s try using the public key as we use in your linux servers right?

image

Also doesn’t work! So I had to create a key using the app to see what the format it was using…and turns out you need to remove ed25519-key-XXXX from the end of the file for it to load.

Can we please adhere to the standards? For people like me who keeps the keys on the cloud, and want to use the same file everywhere it won’t work

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
krutoncommented, Jan 8, 2020

I’m glad your problem is solved.

0reactions
Notttcommented, Jan 7, 2020

I gave up on connectbot and moved to Termius.

It was just too much complicated. With Termius I was able to download the app, import my putty .ppk key from google drive and connect to my server in 5 minutes…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Ed25519 for OpenSSH keys (instead of DSA/RSA ...
Introduction into Ed25519. OpenSSH 6.5 added support for Ed25519 as a public key type. It is using an elliptic curve signature scheme, ...
Read more >
How to secure your SSH server with public key Ed25519 ...
SSH can generate DSA, RSA, ECDSA and Ed25519 key pairs. Let's go over these public-key algorithms: DSA: This algorithm is deprecated due to...
Read more >
Upgrade Your SSH Key to Ed25519 - Medium
The Ed25519 public-key is compact. It only contains 68 characters, compared to RSA 3072 that has 544 characters. Generating the key is also ......
Read more >
Specifications - OpenSSH
SSH protocol version 2 Extension RFCs ; RFC6668 · 5.9-, SHA-2 Data Integrity Algorithms ( hmac-sha2-256 , hmac-sha2-512 ) ; RFC7479 (e) ·...
Read more >
Ed25519 for SSH - Peter's blog
Ed25519 for SSH · The Secure Shell (SSH) Transport Layer Protocol (RFC4253) for server authentication, confidentiality, and integrity. · The ...
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