Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

clear security ssh key-pair-identity

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
clear security ssh key-pair-identity <all> | <identity-name>

Description

Clear private and public SSH key pair for the specified files.

Options

  • all— Clear all the key-pair files.

  • identity-name—Clear identity name.

Required Privilege Level

clear

Output Fields

Sample Output

clear security ssh key-pair-identity sample

content_copy zoom_out_map
user@host> clear security ssh key-pair-identity sample
SSH key sample was removed

Release Information

Command introduced in Junos OS Release 15.1X49-D70.

footer-navigation