Failed to Import Key (General questions)

by gftjen @, (7025 days ago)

Hi,

I have an SSH2 encrypted private key that I am trying to load into SFTP with the following code:

set objKey = Server.CreateObject( WeOnlyDo.Keys.1 ) objKey.Load strFileComplete & key.txt

However, I get the following error when I try to do that:

WeOnlyDo.Keys.1 error '800a7536'

Failed to import key from file.

Is there something special I need to do to load an SSH2 key?

TIA!

locked

Re: Failed to Import Key

by Jasmine, (7025 days ago) @ gftjen

GF,

are you sure you're loading private key? How does it look line, can you paste first and last line of it?

Kreso

locked

Re: Failed to Import Key

by GFTJen @, (7025 days ago) @ Jasmine

First line:
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----

Last line:
---- END SSH2 ENCRYPTED PRIVATE KEY ----

locked

Re: Failed to Import Key

by Jasmine, (7025 days ago) @ GFTJen

From Tectia? Assuming there's no password on it, wodKeys should load it.

Any chance you can send that key to techsupport@weonlydo.com so we can try to open it?

Kreso

locked

what is weonlydo.keys?

by will @, (6060 days ago) @ Jasmine

what is this weonlydo.keys? iv found it in my registry and dont know what it is?

locked

Re: Failed to Import Key

by wodDamir @, (6060 days ago) @ will

Hi Will,

WodKeys is a component used to work with private and public keys, needed to authenticate to some servers.

You can find more information about it on the following link:

http://www.weonlydo.com/Keys/Help/WODSSHKeyLib_introduction.html

Hope this helps.

Regards,
Damba

locked