--- title: "Enabling and disabling strict and global host-key checking using the CLI" slug: "enabling-and-disabling-strict-and-global-host-key-checking-using-the-cli-1" tags: ["File Protect (FX)", "Malware Analysis (AX)", "IAM", "Email Security - Cloud", "Network Security (NX)", "Email Security — Server", "Central Management System", "Helix Enterprise", "Endpoint Security (HX)", "Product Usage", "Install and Get Started", "Helix", "Intelligent Virtual Execution "] updated: 2026-10-01T12:05:57Z published: 2026-10-01T12:05:57Z canonical: "docs.trellix.com/enabling-and-disabling-strict-and-global-host-key-checking-using-the-cli-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Enabling and disabling strict and global host-key checking using the CLI The procedures in this topic describe how to use CLI commands to enable host-key checking. You can enable strict host-key checking, global host-key checking, or both. **Strict host-key checking** If you enable strict host-key checking on a Central Management System appliance, the connection will be allowed only if the local host-keys database for the Central Management System appliance remote user already has an entry that matches the key the managed appliance sends. If you enable strict host-key checking on a managed appliance, the connection will be allowed only if the local host-keys database for the managed appliance remote user already has an entry that matches the key the Central Management System appliance sends. **Global host-key checking** If you enable global host-key checking on a Central Management System appliance, the connection will be allowed only if the managed appliance global host-keys database already has an entry that matches the key the Central Management System appliance sends. If you enable global host-key checking on a managed appliance, the connection will be allowed only if the Central Management System appliance global host-keys database already has an entry that matches the key the managed appliance sends. ### Enabling strict host-key checking You can use these commands on a Central Management System appliance or on a managed appliance. To enable strict host-key checking: 1. Log in to the appliance CLI. 2. Go to CLI configuration mode: ```plaintext hostname > enable hostname # configure terminal ``` 3. Enable strict host-key checking: ```plaintext hostname (config) # cmc auth ssh host-key strict ``` 4. Verify your changes: ```plaintext hostname (config) # show cmc auth ssh ``` 5. Save your changes: ```plaintext hostname (config) # write memory ``` ### Enabling global host-key checking You can use these commands on a Central Management System appliance or on a managed appliance. ### 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. To enable global host-key checking: 1. Log in to the appliance CLI. 2. Go to CLI configuration mode: ```plaintext hostname > enable hostname # configure terminal ``` 3. Enable global host-key checking: `hostname (config) # cmc auth ssh host-key global-only` Any established connections are broken 4. Verify your changes: `hostname (config) # show cmc auth ssh` 5. Save your changes: ```plaintext hostname (config) # write memory ``` 6. To add the host-key to the global database, follow the instructions at [Importing a host key into the CM Series global host-keys database using the CLI](/network-and-platform/docs/importing-host-key-central-management-system-global-host-keys-cli-1) or, for a Central Management System appliance, [Importing a host key into the global host-keys database using the CM Series Web UI](/network-and-platform/docs/importing-a-host-key-into-global-host-keys-database-central-management-system-we-1). ### Disabling strict or global host-key checking You can use these commands on a Central Management System appliance or on a managed appliance. To disable strict or global host-key authentication: 1. Log in to the managed appliance CLI. 2. Go to CLI configuration mode: ```plaintext hostname > enable hostname # configure terminal ``` 3. Perform the following steps as needed. - To disable strict host-key checking: ```plaintext hostname (config) # no cmc auth ssh host-key strict ``` - To disable global host-key checking: ```plaintext hostname (config) # no cmc auth ssh host-key global ``` 4. Verify your changes: ```plaintext hostname (config) # show cmc auth ssh ``` 5. Save your changes: ```plaintext hostname (config) # write memory ``` ### Example This example enforces both strict and global host-key checking on a Central Management System appliance or a managed appliance. ```plaintext 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 ``` :