MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Author Topic: How to allow SSH access to one IP and restrict form all other IPs.  (Read 2779 times)

0 Members and 1 Guest are viewing this topic.

Offline kunal.m

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Hi All,

We can deny SSH access to all other IP address except from our IPs.  In order to allow our IP address and deny all other ips. Follow the below steps.

Login into your WHM >> Security Center >> Host Access Control.

Here we can add in some rules to control who can access sshd.

Quote
Daemon             Access List                      Action                 Comments
sshd                  115.119.26.146               allow                   working ISPs
sshd                   ALL                                deny                   Deny all other ips

Only the IP 115.119.26.146 can access SSH

That's it ..!! :)

MilesWeb Hosting Forum