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.

Cannot parse privateKey: Unsupported key format

See original GitHub issue

I cannot connect to a server thru ssh tunnel and and openssh key. Got this error:

Connection Error
Cannot parse privateKey: Unsupported key format

It’s the same key I’m using to connect thru ssh to my server.

I’m on an Ubuntu 18.04.2 LTS and latest sqlectron as of today. Any ideas?

Thanks.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
btekbtekcommented, Jul 11, 2019

Ok Finally I get this to work.

What I done on my Ubuntu:

  1. I use ‘wine puttygen.exe’
  2. convert my id_rsa to id_rsa.ppk
  3. this not work so I convert id_rsa.ppk to id_rsa.pem

and its connect.

0reactions
maxcnunescommented, Mar 26, 2021

It got closed by mistake, we still need to update sqlectron-db-core in the app which I plan to do this weekend.

Read more comments on GitHub >

github_iconTop Results From Across the Web

node.js - Cannot parse privateKey: Unsupported key format
I validated the key with ssh command, it just works fine. But not with the node. js module SSH2. In the private key...
Read more >
Cannot parse privateKey: Unsupported key format #85 - GitHub
Error while connecting to SSH FS my_prg: Cannot parse privateKey: Unsupported key format I am on macbook pro, the key is a regular...
Read more >
Verify the SSH service connection details. Error
Verify the SSH service connection details. Error: Error: Cannot parse privateKey: Unsupported key format.
Read more >
How could I connect by ssh node to my server? - n8n community
I tried to connect by “ssh node” to my google compute with private key, but it failed by this error: ERROR: Cannot parse...
Read more >
SSH Public key authentication "Cannt parse private key ...
Hello Guys, I'm trying to set up a public key authentication on some cisco devices. ... "Cannt parse private key : Unsupported key...
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