# Adding or Removing Public Keys

User Access: Administrator-level users can only add their own public key. Manager-level users can add a public key for any local user. If a user is not specified, the current user is the default. Only local users can add public keys. Users who obtain authorization from directory services group mappings are not able to add public keys.

Adding a user's public key is another way to allow for passwordless access, providing a means for one-to-many scripting. Once a public key has been installed on the Service Processor, local users on that client can remotely execute commands on the Service Processor without being prompted for a password.

SM Console Usage:

Follow these steps to add a public key from the SM Console in local management mode:

1. Click Access ControlPublic Keys from the menu bar.
2. Enter the name of the local user.
3. Enter the new public key or click Browse to search for one.
4. To remove a public key, mark the checkbox in the Remove Public Key column next to the user whose key you wish to remove.
5. Click the checkmark button.

SM Command Usage:

You can also use the access public key subcommands to perform these functions at the command line.

Notes

- Support is available for SSH protocol version 2 key types (RSA or DSA) only.
- The public key file is your RSA or DSA key. Up to 10 users can install public keys, one key per user.
- The maximum supported key length is 4096 bits

Related Topics

Creating the Initial Manager Account

Adding a New User

Logging Out

Mapping Directory Service Groups

Managing Local Users

Configuring Directory Services

Changing Passwords