> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.itential.com/itential-gateway/5/iagctl/hostkeys-remove/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.itential.com/_mcp/server. # 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 ```bash iagctl hostkeys remove [flags] ``` ## Examples The following example removes all host keys for host `10.0.0.1`: ```bash iagctl hostkeys remove 10.0.0.1 ``` ## Options ```bash -h, --help Help for remove ``` ## Options inherited from parent commands ```bash --profile string Specify the client profile to use (case-insensitive, defaults to [client] section) --config string Path to the configuration file --raw Display the result of the command in raw format --verbose Enable verbose output ```