Failed to Import Key (General questions)
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!
Re: Failed to Import Key
GF,
are you sure you're loading private key? How does it look line, can you paste first and last line of it?
Kreso
Re: Failed to Import Key
First line:
---- BEGIN SSH2 ENCRYPTED PRIVATE KEY ----
Last line:
---- END SSH2 ENCRYPTED PRIVATE KEY ----
Re: Failed to Import Key
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
what is weonlydo.keys?
what is this weonlydo.keys? iv found it in my registry and dont know what it is?
Re: Failed to Import Key
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