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

OceanStor 9000 V5 7.0 Command Reference 03

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).
change system sshauthmode

change system sshauthmode

Function

Sets the authentication mode of SSH logins.

Format

change system sshauthmode < sshauthmode >

Parameters

Parameter

Description

Value

sshauthmode Authentication mode of SSH logins.

Password: Only the password authentication mode is supported for SSH logins.

Publickey: Only the key authentication mode is supported for SSH logins.

Both: Both the password and key authentication modes are supported for SSH logins.

root password Password of user root.

The value is the password of operating system user root and contains a string of characters.

Level

Super administrator

Usage Guidelines

None.

Example

Sets the authentication mode of SSH logins.

admin:/>change system sshauthmode Both 
Please input the root password:************
WARNING: You are about to set the SSH authentication type. This operation will restart the sshd service and the connected SSH service will be disconnected. If you select Public Key only, import the public and private key certificates of the operating system account. Otherwise, the system SSH login fails. Suggestion: Select Public Key only to ensure a more secure login through the SSH.
Have you read warning message carefully?(y/n)y
 
Are you sure you want to perform the operation?(y/n)y
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 25119

Downloads: 7

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