Fortinet white logo
Fortinet white logo

EMS CLI Reference

7.4.5

emscli execute clear-known-host

emscli execute clear-known-host

removes a host entry from the SSH known_hosts file

Synopsis

clear-known-host removes a host entry from the SSH known_hosts file.

Specify either a --host to remove, or --remove.all to remove all hosts.

emscli execute clear-known-host [flags]

Options

  -h, --help          help for clear-known-host
      --host string   Hostname or IP address to remove from the SSH known_hosts file
      --remove.all    Remove all entries from the known_hosts file

See also

emscli execute clear-known-host

emscli execute clear-known-host

removes a host entry from the SSH known_hosts file

Synopsis

clear-known-host removes a host entry from the SSH known_hosts file.

Specify either a --host to remove, or --remove.all to remove all hosts.

emscli execute clear-known-host [flags]

Options

  -h, --help          help for clear-known-host
      --host string   Hostname or IP address to remove from the SSH known_hosts file
      --remove.all    Remove all entries from the known_hosts file

See also