Xshell Forum

Failed to import user key!

Last post: Monday, July 18, 2016 10:01 AM by Eliran, 9 reply

 
Sunday, February 28, 2010 5:32 PM - Doug

Failed to import user key!

 
One of my servers is using openssh keypair authentication.

I used puttygen to generate a public key and a private key, and have been able to login to my server using the ppk file with putty.

But when I tried to import the ppk file into Xshell, it always says "Failed to import the user key!".



Program Ver. : Xshell 3.0
Tuesday, March 2, 2010 12:36 AM - Support

Re: Failed to import user key!

 
Putty uses its own user key format (not the default use key format) which is not supported by Xshell. We will consider adding a feature to allow importing Putty generated user keys.



---
Technical Support
Monday, April 5, 2010 3:36 PM - Fernando

Re: Failed to import user key!

 
You can import the ppk in puttygen, then export to open ssh2 in menu conversions/export openssh key. The generated file can be imported into Xshell.

Friday, April 23, 2010 5:18 PM - Enmity

Re: Failed to import user key!

 
I generated a keypair with ssh 5.5 p1 and tried to import the public key into Xshell but it failed. This should be the standard OpenSSH format for the key so I do not understand why that would not be supported, vs PuTTY's propriety format.

Why would that have failed?
Sunday, April 25, 2010 11:17 PM - Support

Re: Failed to import user key!

 
Xshell supports SECSH public key file format. To convert the public key into SECSH format, you can use the -e ssh-keygen option. For example, to convert a public key, "test.pub" to SECSH format, use:

# ssh-keygen -e test.pub


---
Technical Support
Wednesday, May 16, 2012 12:50 AM - vanza

Re: Failed to import user key!

 
Hi!

I generate my keys in linux, then convert public dsa to secsh format, but key still does not fit. What should I do? Thank you!
Saturday, May 17, 2014 1:46 PM - illuder

Re: Failed to import user key!

 
You can import the ppk in puttygen, then export to open ssh2 in menu conversions/export openssh key. The generated file can be imported into Xshell.


>>thank you this worked perfectly!!
Friday, October 24, 2014 12:43 AM - Ather Hashmi

Re: Failed to import user key!

 
Fernando - you're a life saver man. Thanks a lot for telling me how to do that in XShell.

PEOPLE, THE METHOD TOLD BY FERNANDO AT Monday, April 5, 2010 3:36 PM TOTALLY WORKS.
Friday, December 12, 2014 2:14 AM - Laiju V G

Re: Failed to import user key!

 
Fernando --> On the dot..Thanks buddy.
Monday, July 18, 2016 10:01 AM - Eliran

Re: Failed to import user key!

 
All of these methods do not work.
This is very disappointing, as a Xshell user in the past couple of years this is an issue that is a Blocker for me, and I will sadly need to use an app that does support these files :\