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

Fat AP and Cloud AP V200R010C00 Command Reference

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 server port

ssh server port

Function

The ssh server port command changes the listening port number of the SSH server.

The undo ssh server port command restores the default listening port number of the SSH server.

The default listening port number of the SSH server is 22.

Format

ssh server port port-number

undo ssh server port

Parameters

Parameter Description Value
port-number Specifies the listening port number of the SSH server. The value is 22 or an integer ranging from 1025 to 55535.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

Configure the listening port number of the SSH server to prevent from malicious access to the SSH service standard port and ensure security.

Precautions

The SSH client can log in successfully with no port specified only when the server is listening on port 22. If the server is listening on another port, the port number must be specified upon login.

Before changing the current port number, disconnect all devices from the port. After the port number is changed, the server starts to listen on the new port.

Example

# Set the listening port number of the SSH server is 1025.

<Huawei> system-view
[Huawei] ssh server port 1025
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 205629

Downloads: 122

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