Skip to main content

sshhostkey

The sshhostkey program is used to manage host keys in the Windows registry or a KVGroup-based database.

This program is installed with Connector Pack . It may be located in the util directory under either the Connector Pack\global\ directory or the IDM Suite\<instance> directory.

Usage
sshhostkey print|delete|verify|update -s <Server>:<Port> [-v] [-f <filename>] [--instance <instance>]

The arguments are described in the following table:

Argument

Description

print

Prints the public key for the specified <server>:<port> or for the servers specified by the server pattern.

delete

Deletes the public key for the specified <server>:<port> or for the servers specified by the server pattern.

verify

Verifies the public key for the specified <server>:<port>.

update

Updates the public key for the specified <server>:<port>, if it doesn’t match the stored key.

-s <server>:<port>

The DNS name or IP address of the target system. You can use a regular expression to match more than one server.

-l

Displays verbose messaging for verify and update arguments.

-f <filename>

Uses the host key KVG file, or the registry if a file isn’t specified.

--instance <instance>

The name of the Bravura Security Fabric instance on which to run this utility to get log information. If not specified, the program looks for the default instance.

It is recommended that you perform a print before using delete with extended regular expression patterns.

Examples
  1. To print the public keys stored in the registry, type:

    sshhostkey print
  2. To connect to an SSH target and verify whether the locally stored public key is correct, type:

    sshhostkey verify <server>:<port>