Skip to main content

Uninstalling Key Manager agents

Key Manager agents are uninstalled completely by removing the Key Manager agent package, then by removing the agent configuration and log data.

Uninstalling the Agent Package​

This section gives instructions for uninstalling the Key Manager agent package from agent-based hosts.

Linux​

Uninstalling with yum​

# yum erase sshmgr-agent

Uninstalling with rpm​

# rpm -e sshmgr-agent

AIX​

Uninstalling the agent package:

# installp -u SSHKM.agent

HP-UX​

For 32-bit platforms:

# swremove <path>/sshmgr-agent-X.Y.Z-hpux-11i-hppa.depot *

For 64-bit platforms:

# swremove <path>/sshmgr-agent-X.Y.Z-hpux-11i-ia64.depot *

In both of the examples above, replace <path> with the path where the agent package is located.

Solaris​

For all the supported Solaris versions:

# pkgrm SSHKMagnt

Windows​

In the control panel, use the Add/Remove programs utility to remove the Key Manager agent. The agent service will be stopped and all files except the agent-icb.json and agent-conf.json will be removed. Additionally, the agent registry entries will be removed.

Removing Agent Data Files​

On Unix hosts, remove the agent config and log data files using the following commands:

# rm -r /var/opt/sshmgr-agent
# rm -r /var/lib/sshmgr-agent
# rm /var/log/ssh-key-agent.log

On Windows, remove the agent installation directory and its contents. By default, the directory is:

C:\Program Files (x86)\SSH Communications Security\SSH UKM Agent