clear ssh server authkey

Use this command to clear an SSH server authentication key.

Syntax

clear ssh server authkey [username] [no-confirm]

Parameters

username (Optional) Specifies that the authentication key for the specified username is deleted.
no-confirm (Optional) Specifies that the authentication key will be deleted without confirmation.

Defaults

If username is not specified, all authkeys are cleared.

If no-confirm is not specified, you are prompted to confirm the authkey deletion.

Mode

All command modes.

Example

This example shows how to clear the username testuser SSH server authentication public key:

System(rw)->clear ssh server authkey testuser