NSX CLI Guide
del user <username> ssh-keys label <key-label> [password <password>]
Delete any SSH key with specified label from specified user's authorized_keys file. If password is not provided in the command then you are prompted to enter it. Password is required only for users root and admin.
Parameters:
Option | Description |
---|---|
<username> | Username of user |
<key-label> | Unique label for SSH key |
<password> | Password of user |