--- title: "Configuring user authentication using the CLI" slug: "configuring-user-authentication-using-the-cli-3" updated: 2026-08-25T21:18:33Z published: 2026-08-25T21:18:33Z canonical: "docs.trellix.com/configuring-user-authentication-using-the-cli-3" --- > ## 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 Central Management System appliance uses to log in to a managed appliance to establish the connection. This is an existing "admin" user on the managed 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 appliance authtype password ``` 3. Specify the remote user to log in to the managed appliance: ``` hostname (config) # cmc appliance auth password username ``` 4. Specify the password used to authenticate the remote user: ``` hostname (config) # cmc appliance 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 appliance authtype ssh-dsa2 ``` 3. Specify the remote user to log in to the managedCentral Management System appliance: ``` hostname (config) # cmc appliance auth ssh-dsa2 username ``` 4. Specify the named identity used to authenticate the remote user: ``` hostname (config) # cmc appliance 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 appliance authtype ssh-rsa2 ``` 3. Specify the remote user to log in to the managedCentral Management System appliance: ``` hostname (config) # cmc appliance auth ssh-rsa2 username ``` 4. Specify the named identity used to authenticate the remote user: ``` hostname (config) # cmc appliance 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-RSA2 authentication parameters used to log in to the NX-04 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 ``` :