Delete SSH Public Key

Contents

1Introduction
1.1Prerequisites

2

Procedure

1   Introduction

This document 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.

1.1   Prerequisites

This section describes the prerequisites, which must be fulfilled before using the procedure.

1.1.1   Conditions

The following conditions must apply:

2   Procedure

To delete the SSH public key:

  1. Navigate to the UserAccount Managed Object (MO), for example:

    >dn ManagedElement=NODE06ST,SystemFunctions=1,SecM=1,UserManagement=1,LocalAuthenticationMethod=1,UserAccountM=1,UserAccount=joedoe

  2. Enter Config mode:

    (UserAccount=joedoe)>configure

  3. Delete the SshPublicKey Managed Object, for example:

    (config-UserAccout=joedoe)>no SshPublicKey=1

  4. Commit the deletion:

    (config-UserAccount=joedoe)>commit

  5. 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.



Copyright

© Ericsson AB 2016. All rights reserved. No part of this document may be reproduced in any form without the written permission of the copyright owner.

Disclaimer

The contents of this document are subject to revision without notice due to continued progress in methodology, design and manufacturing. Ericsson shall have no liability for any error or damage of any kind resulting from the use of this document.

Trademark List
All trademarks mentioned herein are the property of their respective owners. These are shown in the document Trademark Information.

    Delete SSH Public Key