Reset Search
 

 

Article

How do you restrict SSH access to an IP addresses range?

« Go Back

Information

 
TitleHow do you restrict SSH access to an IP addresses range?
Question
How do you restrict SSH access to an IP addresses range?
Environment
  • EXOS
  • SSH access profile
Answer
  1. Enter EXOS CLI editor. Note the policy name will require the ".pol" file extension. "vi <POLICY_NAME>"
  2. Create the access-list. Type "i" prior to inserting text to the EXOS CLI editor.
Sample ACL:
entry AllowTheseSubnets {
if match any {
source-address 10.203.133.0 /24;
source-address 10.203.135.0 /24;
} then {
permit;
}
}
  1. Write and quit the CLI editor by pressing the escape key and typing ":wq"
  2. Apply the access profile. "configure ssh2 access-profile <POLICY_NAME>"
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255