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

Complete thread: