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

Fit 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 permit interface

ssh server permit interface

Function

The ssh server permit interface command specifies physical interfaces on the SSH server to which clients can connect.

The undo ssh server permit interface command restores the default physical interfaces on the SSH server to which clients can connect.

By default, clients can connect to all the physical interfaces on the SSH server.

Format

ssh server permit interface { interface-type interface-number } &<1-5>

undo ssh server permit interface

Parameters

Parameter Description Value
interface-type interface-number

interface-type: specifies the interface type.

interface-number: specifies the interface number. interface-number and interface-type specify an interface.

-

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To prevent a client from connecting to the SSH server through an unauthorized physical interface or attacking the SSH server by sending a large number of SSH packets, you can run the ssh server permit interface command to specify physical interfaces on the SSH server to which the client can connect.

Precautions

  • By default, clients can connect to all the physical interfaces on the SSH server. Once a physical interface is specified using the ssh server permit interface command, a client cannot connect to the SSH server using other physical interfaces .
  • This command can be used only on a Layer 2 physical interface but not on a Layer 3 physical interface, logical interface, or a non-Ethernet interface.

Example

# Specify physical interfaces on the SSH server to which clients can connect.

<Huawei> system-view
[Huawei] ssh server permit interface gigabitethernet 0/0/1
Info: Succeeded in setting ssh permit interface.

# Restore the default physical interfaces on the SSH server to which clients can connect.

<Huawei> system-view
[Huawei] undo ssh server permit interface
Translation
Download
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 131866

Downloads: 105

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