delete sshd2 user-key

delete sshd2 user-key key_name

Description

Deletes a user key.

Syntax Description

key_name Specifies the name of the public key to be deleted.

Default

N/A.

Usage Guidelines

This command is used to delete a user key. The key is deleted regardless of whether or not it is bound to a user.

Note

Note

If a user is bound to the key, they are first unbound or unassociated, and then the key is deleted.

Example

The following example shows the SSH user key id_dsa_2048 being deleted:

delete sshd2 user-key id_dsa_2048

History

This command was first available in ExtremeXOS 12.0.

Platform Availability

This command is available on all platforms.