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 ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5420, and 5520 series switches.