I have a private key encrypted with a passphrase. I want to use it to connect to the SSH server. To open the Key, I use the ImportFrom() method.
Code: Select all
TScKey* myKey = new TScKey(myFileStorage->Keys);
K->KeyName = "myKeyName";
K->ImportFrom("myEncryptedKey.ssl", "myPassword");
Thanks in advance,