No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference 10

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 Storage System V300R003

"Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions."
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
delete ssh known_hosts

delete ssh known_hosts

Function

The delete ssh known_hosts command is used to delete the server "known_hosts" file or a certain record in the file that is saved by the SSH client.

Format

delete ssh known_hosts type=? [ record_address=? ]

Parameters

Parameter

Description

Value

type=? Delete the type of the "known_hosts" records that are saved by the SSH client.
  • "file": deletes the server "known_hosts" file that is saved by the SSH client.
  • "record": deletes a certain record in the server "known_hosts" file that is saved by the SSH client.
record_address=? IP address in the known_hosts file. This parameter is available only when "Type" is "record".

IPV4/IPV6 address.

Level

Super administrator

Usage Guidelines

  • This command is used to delete the server "known_hosts" file or a certain record in the file that is saved by the SSH client.
  • When deleting the file, you do not need to enter the server IP address.
  • When deleting records in the file, you need to enter the server IP address.

Example

Delete the server "known_hosts" file or a certain record in the file that is saved by the SSH client.

admin:/>delete ssh known_hosts type=file
WARNING: You are about to delete the "known_hosts" records saved by the SSH client.
This operation will lead to a result that the server public key is no longer saved in the "known_hosts" file of the client. Therefore, the client cannot detect whether the server is forged.
Suggestion: Before performing this operation, make sure that you have selected a correct record and the record is no longer necessary.
Have you read warning message carefully?(y/n)y
Are you sure you really want to perform the operation?(y/n)y
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-04-04

Document ID: EDOC1000084195

Views: 273304

Downloads: 1556

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next