iagctl hostkeys remove

Remove host keys for a specific host.

The iagctl hostkeys remove command removes all host keys for a specific host from the gateway known_hosts file. The known_hosts file is located in the application working directory set by the GATEWAY_APPLICATION_WORKING_DIR configuration variable.

Syntax

$iagctl hostkeys remove <host> [flags]

Examples

The following example removes all host keys for host 10.0.0.1:

$iagctl hostkeys remove 10.0.0.1

Options

$ -h, --help Help for remove

Options inherited from parent commands

$ --config string Path to the configuration file
$ --raw Display the result of the command in raw format
$ --verbose Enable verbose output