2.3.3.3 Manage a User's Public Keys

This topic describes how to manage the public keys that are associated with an existing Exascale user.

  • To associate a public key with a user, use the ESCLI chuser command with the --public-key-file1, --public-key-file2, or --public-key-file3 option and specify:
    • The unique user ID for the user that is being modified. You can use the lsuser command to find the ID for each user.
    • The location of a file that contains the user's public key in PEM format.

    For example:

    @> chuser theuserID --public-key-file1 pub.pem

    By using the --public-key-file1, --public-key-file2, and --public-key-file3 options, Exascale provides three public key 'slots' for each Exascale user.

    If you supply a public key for a previously unused slot, then the specified key is inserted into the slot. Otherwise, the existing key in the slot is overwritten with the specified public key.

  • To remove a public key from a user, use the chuser command with the --rm-public-key1, --rm-public-key2, or --rm-public-key3 option and specify the unique user ID for the user that is being modified.

    For example:

    @> chuser theuserID --rm-public-key1

    By using the --rm-public-key1, --rm-public-key2, and --rm-public-key3 options, you can selectively remove the public key in any of the three public key 'slots' for the Exascale user.