1 Description
This instruction describes how to delete a Secure Shell (SSH) public key applicable for the local Operation and Maintenance (O&M) user account. O&M users are allowed to create, change, and delete their own SSH key.
2 Procedure
2.1 Delete SSH Public Key
Prerequisites
- The instruction references the following documents:
- No tools are required.
- The following conditions must apply:
- The user is familiar with the security policy of the organization.
- The public key to delete is known.
- An Ericsson Command-Line Interface (ECLI) session in Exec mode is in progress.
Steps
- Navigate to the UserAccount Managed
Object (MO), for example:
>dn ManagedElement=NODE06ST,SystemFunctions=1,SecM=1,UserManagement=1,LocalAuthenticationMethod=1,UserAccountM=1,UserAccount=joedoe
- Enter Config mode:
(UserAccount=joedoe)>configure
- Delete the SshPublicKey MO,
for example:
(config-UserAccout=joedoe)>no SshPublicKey=1
- Commit the deletion:
(config-UserAccount=joedoe)>commit
- Verify the deletion, for example:
(UserAccount=joedoe)>show SshPublicKey=1
The following is an example output:
ERROR: Specific element not found
- Note:
- If the password has been previously removed, it is recommended that the user password is set, refer to Reset Password for User Account.

Contents