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

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).
display ssh server

display ssh server

Function

The display ssh server command displays the SSH server information.

Format

display ssh server { status | session }

Parameters

Parameter Description Value
status Displays the global configuration on the SSH server. -
session Displays the current session connection information on the SSH server. -

Views

All views

Default Level

3: Management level

Usage Guidelines

After configuring the SSH attributes, you can run this command to view the configuration or session connection information on the SSH server to verify that the SSH connection has been established.

Example

# Display the global configuration on the SSH server.

<Huawei> display ssh server status
 SSH version                         :1.99
 SSH connection timeout              :120 seconds
 SSH server key generating interval  :0 hours
 SSH Authentication retries          :3 times
 SFTP Server                         :Enable 
 Stelnet server                      :Enable
Table 2-28  Description of the display ssh server status command output

Item

Description

SSH version

SSH protocol version. The value can be 1.99 or 2.0.

SSH connection timeout

SSH connection timeout interval. The value ranges from 60 to 120. The default value is 60. The unit is second.

Run the ssh server timeout command to set this item.

SSH server key generating interval

Key updating period of the SSH server. The default value is 0. The unit is hour.

Run the ssh server rekey-interval command to set this item.

SSH authentication retries

Number of times for retrying SSH authentication. The default value is 3.

Run the ssh server authentication-retries command to set this item.

SFTP Server

Status of the SFTP server. By default, it is disabled.

Run the sftp server enable command to set this item.

Stelnet server

Status of the STelnet server. By default, it is disabled.

Run the stelnet server enable command to set this item.

# Display the current session connection information on the SSH server.

<Huawei> display ssh server session
 --------------------------------------------------------------------
Conn   Ver   Encry     State  Auth-type        Username
--------------------------------------------------------------------
VTY 0  2     AES       run    password         john
--------------------------------------------------------------------
Table 2-29  Description of the display ssh server session command output

Item

Description

Conn

VTY connection.

Ver

Version number.

Encry

Encryption mode.

State

Session status on the SSH server.

Auth-type

Authentication mode for an SSH user. The options are as follows:
  • password
  • rsa
  • password-rsa (password and RSA)
  • all (password or RSA)

Run the ssh user authentication-type command to set this item.

Username

User name for SSH server authentication.

Translation
Download
Updated: 2019-05-29

Document ID: EDOC1000097293

Views: 88832

Downloads: 121

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