Removing an SSH Public Key from EFT Server (RemoveSSHKey)

Available in EFT Server 6.1 and later.

The ICIServer::RemoveSSHKey method allows you to remove an SSH public key from EFT Server.

HRESULT RemoveSSHKey([in] long lID); // key ID

Example (VBScript):

For Each key In Server.AvailableSSHKeys 'remove all keys

Server.RemoveSSHKey key.ID

Next