Deleting the SSH Public Key of a User (delpublickey)
Function
The delpublickey command is used to delete the SSH public key of a user.
Format
ipmcset -t user -d delpublickey -v username
Parameters
Parameter |
Description |
Value |
---|---|---|
username |
Specifies the user whose SSH public key is to be deleted. |
– |
Usage Guidelines
The administrators can delete the SSH public keys of all users. Common users can delete only their own SSH public keys.
Example
# Delete the public key of user ssh_user_01.
iBMC:/->ipmcset -t user -d delpublickey -v ssh_user_01
Input your password:
Delete user public key successfully.