--- title: "Configuring user authentication using the CLI" slug: "configuring-user-authentication-using-the-cli-8" 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-09-01T19:03:12Z published: 2026-09-01T19:03:12Z canonical: "docs.trellix.com/configuring-user-authentication-using-the-cli-8" --- > ## 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. # Configuring user authentication using the CLI This procedure describes how use CLI commands to configure remote user authentication for an existing "admin" user account. On a Central Management System appliance, the account is used for logging in to a managed appliance to establish an SSH connection. On a managed appliance, the account is used to log in to the Central Management System appliance to announce itself. ### Note See the` ssh `and` cmc `commands in the *CLI Reference* for advanced authentication options. To configure password authentication: 1. Go to CLI configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Specify the "password" authentication type. On a Central Management System appliance: `cmc appliance <identityID> authtype password` On a managed appliance: `cmc client server auth authtype password` 3. Specify the remote user account. On a Central Management System appliance, the account is used to log in to a managed appliance. `cmc appliance <applianceID> auth password username <username>` On a managed appliance, the account is used to log in to the Central Management System appliance: `cmc client server auth password username <username>` 4. Specify the password used to authenticate the remote user. On a Central Management System appliance: `cmc appliance <applianceID> auth password password <password>` On a managed appliance: `cmc client server auth password password <password>` 5. Save your changes: ``` hostname (config) # write memory ``` To configure SSH-DSA2 authentication: 1. Go to CLI configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Specify the SSH-DSA2 authentication type. On a Central Management System appliance: `cmc appliance <applicationID> authtype ssh-dsa2` On a managed appliance, use the following command instead: `cmc client server auth authtype ssh-dsa2` 3. Specify the remote user account. On a Central Management System appliance, the account is used to log in to a managed appliance: `cmc appliance <applianceID> auth ssh-dsa2 username <username>` On a managed appliance, the account is used to log in to the Central Management System appliance: `cmc client server auth ssh-dsa2 username <username>` 4. Specify the existing named identity used to authenticate the remote user. On a Central Management System appliance: `cmc appliance <applianceID> auth ssh-dsa2 identity <identityName>` On a managed appliance: `cmc client server auth ssh-dsa2 identity <identityName>` 5. Save your changes: ``` hostname (config) # write memory ``` To configure SSH-RSA2 authentication: 1. Go to CLI configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. Use the following command to specify the SSH-RSA2 authentication type: `cmc appliance <applianceID> authtype ssh-rsa2` On a managed appliance, use the following command instead: `cmc client server auth authtype ssh-rsa2` 3. On a Central Management System appliance, use the following command to specify the name of the remote user to log in to the managed appliance: `cmc appliance <applianceID> auth ssh-rsa2 username <username>` On a managed appliance, use the following command to specify the name of the remote user to log in to the Central Management System appliance: `cmc client server auth ssh-rsa2 username <username>` 4. Use the following command to specify the existing named identity used to authenticate the remote user: `cmc appliance <applianceID> auth ssh-rsa2 identity <identityName>` On a managed appliance, use the following command instead: `cmc client server auth ssh-rsa2 identity <identityName>` 5. Save your changes: ``` hostname (config) # write memory ``` ### Example The following example configures a Central Management System appliance with SSH-RSA2 authentication parameters used to log in to the NX-04 managed appliance: ``` hostname (config) # cmc appliance NX-04 auth authtype ssh-rsa2 hostname (config) # cmc appliance NX-04 auth ssh-rsa2 username cmcadmin2 hostname (config) # cmc appliance NX-04 auth ssh-rsa2 identity admin2 ``` The following example configures a managed appliance with SSH-DSA2 authentication parameters used to log in to the Central Management System appliance: ``` hostname (config) # cmc client server auth authtype ssh-dsa2 hostname (config) # cmc client server auth ssh-dsa2 username cmcadmin3 hostname (config) # cmc client server auth ssh-dsa2 identity admin3 ``` :