--- title: "Configuring user authentication using the CLI" slug: "configuring-user-authentication-using-the-cli" tags: ["Endpoint Security (HX)", "Product Usage"] updated: 2026-09-23T17:24:36Z published: 2026-09-23T17:24:36Z canonical: "docs.trellix.com/configuring-user-authentication-using-the-cli" --- > ## 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 Use the commands in this section to configure authentication parameters for the remote user the managed appliance uses to log in to the Central Management System appliance to announce itself. This is an existing "admin" user on the Central Management System appliance. ### Note See the` ssh `and` cmc `commands in the *CLI Command 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: ``` hostname (config) # cmc client server auth authtype password ``` 3. Specify the remote user to log in to the Central Management System appliance: ``` hostname (config) # cmc client server auth password username ``` 4. Specify the password used to authenticate the remote user: ``` hostname (config) # cmc client server auth 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: ``` hostname (config) # cmc client server auth authtype ssh-dsa2 ``` 3. Specify the remote user to log in to the Central Management System appliance: ``` hostname (config) # cmc client server auth ssh-dsa2 username ``` 4. Specify the named identity used to authenticate the remote user: ``` hostname (config) # cmc client server auth ssh-dsa2 identity ``` where` <identityName> `is the name of an existing identity. 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. Specify the SSH-RSA2 authentication type: ``` hostname (config) # cmc client server auth authtype ssh-rsa2 ``` 3. Specify the remote user to log in to the Central Management System appliance: ``` hostname (config) # cmc client server auth ssh-rsa2 username ``` 4. Specify the named identity used to authenticate the remote user: ``` hostname (config) # cmc client server auth ssh-rsa2 identity ``` where` <identityName> `is the name of an existing identity. 5. Save your changes: ``` hostname (config) # write memory ``` ### Example The following example configures 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 ``` :