Xshell Forum

Failed to import user key!

Last post: Sunday, April 25, 2010 11:17 PM by Support, 4 replies
REPLY
WRITE
Sunday, February 28, 2010 5:32 PM by 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 by 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 by 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 by 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 by 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