Configuring user authentication using the CLI

Prev Next

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 <username>
  4. Specify the password used to authenticate the remote user:

    hostname (config) # 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:

    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 <username>
  4. Specify the named identity used to authenticate the remote user:

    hostname (config) # cmc client server auth ssh-dsa2 identity <identityName>

    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 <username>
  4. Specify the named identity used to authenticate the remote user:

    hostname (config) # cmc client server auth ssh-rsa2 identity <identityName>

    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