|
|
Available in EFT Server 6.1 and later. |
Use the ICISSHKeyInfo interface to retrieve information about EFT Server’s SSH public keys. The interface provides the set of read-only properties. (Refer also to the ICIServer::AvailableSSHKeys property.)
Use the ICISSHKeyInfo::ID read-only property to retrieve an SSH key ID. This value can be used to assign the key to client. (Refer also to the ICIClientSettings::SetSSHKeyID method.)
HRESULT ID([out, retval] UINT* pVal);
Example (VBScript):
Client.SetSSHKeyID key.ID
Use the ICISSHKeyInfo::Name read-only property to retrieving an SSH key name.
HRESULT Name([out, retval] BSTR* pVal);
Example (VBScript):
MsgBox "Key: " & key.Name & "(" & key.Fingerprint & ")"
Use the ICISSHKeyInfo::Fingerprint read-only property to retrieve an SSH key fingerprint.
HRESULT Fingerprint([out, retval] BSTR* pVal);
Example (VBScript):
MsgBox "Key: " & key.Name & "(" & key.Fingerprint & ")"