Specifying the SFTP (SSH) Certificate ID (SetSSHKeyID)

Use the ICIClientSettings interface SetSSHKeyID method to set the SFTP (SSH) certificate ID for the client. Refer to User Connection Protocols for an illustration of how this and other Client Settings Interface Methods and Properties can be accessed in the Administrator interface.

Signature:

HRESULT SetSSHKeyID(

 [in] long val);

Example:

Dim strUser:strUser = "test"

set oUserSettings = oSite.GetUserSettings(strUser)

oUserSettings.SetSSHKeyID(1)