The ssh server acl command configures an ACL that the SSH server uses to control the access permission of SSH clients.
The undo ssh server acl command cancels the configured ACL of the SSH server.
By default, no ACL is configured for SSH servers.
Parameter | Description | Value |
---|---|---|
acl-number | Specifies an ACL number. | The value is an integer that ranges from 2000 to 3999. |
Usage Scenario
Prerequisites
An ACL has been configured using the acl (system view) command in the system view, and an ACL rule has been configured using the rule (basic ACL view) or rule (advanced ACL view) command.
Precautions
A basic ACL can be configured to restrict source addresses. An advanced ACL can be configured to restrict source and destination addresses.