| SSH2 Key Import [message #641159] |
Wed, 24 November 2010 08:01  |
No real name Messages: 1 Registered: November 2010 |
Junior Member |
|
|
Hello,
i´m trying to import a private and public key(which i generated in SSH Secure Shell) into Preferences/SSH2.When i just added the private key and load existing key under "Key Management" the error"failed to load given file" occured. How can i import the keys? Thank You for your reply.
|
|
|
| Re: SSH2 Key Import [message #647814 is a reply to message #641159] |
Sun, 09 January 2011 11:23   |
Groschensammler Messages: 1 Registered: January 2011 |
Junior Member |
|
|
Got the same problem!
Generated keygen with a passphrase like this:
ssh-keygen
ssh-keygen -t rsa
ssh-keygen -t rsa -b 1024
ssh-keygen -t rsa -b 2048
ssh-keygen -t dsa
Every time I did "Load existing key" I got this Error message:
"failed to decrypt id_rsa"
It works fine if I use an empty passphrase.
-------------------------------
Ubuntu Maveric 10.04
openssh-client (ssh-keygen) Version 1:5.5p1-4ubuntu4
Eclipse Version: 3.6.1 Build id: M20100909-0800
Egit v0.10.1
https://bugs.eclipse.org/bugs/show_bug.cgi?id=326526
[Updated on: Sun, 09 January 2011 13:38] Report message to a moderator
|
|
|
|
| Re: SSH2 Key Import [message #735076 is a reply to message #654016] |
Mon, 10 October 2011 17:08  |
Fabio Rodriguez Messages: 1 Registered: October 2011 |
Junior Member |
|
|
thx, James, I used that workaround to get my key imported.
For those needing help on the command line, this should help you copy your key & change the passphrase to blank so you can import it from Eclipse.
cd ~/.ssh
cp id_rsa ~/Desktop
ssh-keygen -f ~/Desktop/id_rsa -p -P YOUR_OLD_PASSPHRASE_GOES_HERE -N ''
Then add back your passphrase via the Eclipse GUI and overwrite your ~/.ssh key
|
|
|
Powered by
FUDForum. Page generated in 0.02188 seconds