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.

Adding SSH Key - Private key is not a valid RSA key

See original GitHub issue

Hi !

I try to add my SSH keys to Mist.io (but uploading my id_rsa file), but there is a problem during adding it.

Bad Request: {'msg': u"ValidationError (Key.SSHKey:de744eb14653461c82d0263f01537c67) (Private key is not a valid RSA key.: ['__all__'] Field is required: ['public'])", 'errors': {'public': u'Field is required', '__all__': u'Private key is not a valid RSA key.'}}

I generate my SSH key using the following command line : ssh-keygen -t rsa -b 4096.

image

This should be fine no ?

Thanks you.

Release version : v3.3.0 and v3.3.1

System Fedora 29 Docker version : Nightly

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
d-mocommented, May 22, 2019

@ruskofd @kaanklky Support for the new OpenSSH key format was added in v4.1.0

1reaction
d-mocommented, Apr 12, 2019

Thank you @kaanklky for reminding us of this issue. I’ll make sure it’s fixed in v4.1 which should be out in the coming weeks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Paramiko: "not a valid RSA private key file" - Stack Overflow
Go to Conversions > Export OpenSSH key. For RSA keys, it will use the classic format. If you are creating a new key...
Read more >
Paramiko regards valid RSA private keys as invalid · Issue #340
I am experiencing this problem with paramiko in Debian Jessie (python-paramiko 1.15.1-1) with a key generated with: ssh-keygen -b4096 and adding ...
Read more >
Paramiko Not a Valid RSA Key Error : r/learnprogramming
So i'm using the Paramiko library to SSH into a host and i'm passing the RSA key as a parameter and it keeps...
Read more >
What can I do if I'm getting an RSA Private Key is invalid error ...
Open the .key file in any text editor · Check to see if the .key file starts with -----BEGIN PRIVATE KEY----- · Check...
Read more >
paramiko does not support the new openssh key format - Xpra
SSHException : not a valid RSA private key file. With a key file generated using a recent ssh-keygen , the file looks like...
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