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


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


AR500, AR510, and AR530 V200R007 Commands Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.

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).
ssh client first-time enable

ssh client first-time enable


The ssh client first-time enable command enables the first authentication on the SSH client.

The undo ssh client first-time enable command disables the first authentication on the SSH client.

By default, first authentication is disabled on the SSH client.


ssh client first-time enable

undo ssh client first-time enable




System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

When the SSH client accesses the SSH server for the first time and the public key of the SSH server is not configured on the SSH client, you can enable the first authentication for the SSH client to access the SSH server and save the public key on the SSH client. When the SSH client accesses the SSH server next time, the saved public key is used to authenticate the SSH server.


You can run the ssh client assign command to pre-assign a public key to the SSH server. In this manner, you can log in to the SSH server successfully at the first time.


# Enable the first authentication on the SSH client.

<Huawei> system-view
[Huawei] ssh client first-time enable
Related Topics
Updated: 2019-05-29

Document ID: EDOC1000097293

Views: 135785

Downloads: 148

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next