|<< back to sysax.com Product page|
The PKeyLoad method can be used to load a private key for paswordless login when connecting to a SSH based SFTP server. The name of the key file and the passphrase used to protect the private key must be provided.
Exhibit 3.9. IDL Definition of method to load SSH private key
HRESULT PkeyLoad ([in] BSTR b_keyfile, [in, defaultvalue("")] BSTR b_passphrase);
Exhibit 3.10. Example usage of method to load SSH private key (VBScript)
'load private key for SSH public key authentication app.PkeyLoad "c:\\myprivkey.pem", "mypassphrase"