Use the commands in this section to enable strict host-key checking, global host-key checking, or both.
With strict host-key checking, the connection will be allowed only if the local host-keys database for the Central Management System remote user already has an entry that matches the key the Central Management System managed appliance sends.
With global host-key checking, the connection will be allowed only if the Central Management System global host-keys database already has an entry that matches the key the managed appliance sends.
Caution
When you enable global host-key authentication, any established connections will be broken until you explicitly add the host key to the global host-keys database. See Configuring global host key authentication using the Web UI or Importing a global host key using the CLI for instructions.
Note
See the ssh and cmc commands in the CLI Command Reference for advanced authentication options.
Log in to the Central Management System CLI.
Go to CLI configuration mode:
hostname > enable hostname # configure terminal
Enable strict host-key checking:
hostname (config) # cmc auth ssh host-key strictVerify your changes:
hostname (config) # show cmc auth sshSave your changes:
hostname (config) # write memory
Log in to the Central Management System CLI.
Go to CLI configuration mode:
hostname > enable hostname # configure terminal
Enable global host-key checking:
hostname (config) # cmc auth ssh host-key global-onlyVerify your changes:
hostname (config) # show cmc auth sshSave your changes:
hostname (config) # write memory
Log in to the CLI.
Go to CLI configuration mode:
hostname > enable hostname # configure terminal
Perform the following steps as needed.
To disable strict host-key checking:
hostname (config) # no cmc auth ssh host-key strictTo disable global host-key checking:
hostname (config) # no cmc auth ssh host-key global
Verify your changes:
hostname (config) # show cmc auth sshSave your changes:
hostname (config) # write memory
Example
This example enforces both strict and global host-key checking on a Central Management System appliance.
hostname (config) # cmc auth ssh host-key strict hostname (config) # cmc auth ssh host-key global-only hostname (config) # show cmc auth ssh CMC SSH configuration: Strict host key checking enabled: yes Global only known hosts enabled: yes Minimum protocol version: 2 Cipher list: compatible Minimum key length: 1024 bits