Whitelisting IP Litespeed Admin VIA SSH

Discussion in 'Linux Guides' started by Chuck, Nov 14, 2017.

  1. Chuck

    Chuck Administrator
    Staff Member Grep What?

    Joined:
    May 17, 2017
    Messages:
    39
    Likes Received:
    0
    It is possible that you find yourself locked out of Litespeed admin console if you have it locked down to IP access (and you should). At that point you need to add the new IP using SSH.

    Code:
    nano /usr/local/lsws/admin/conf/admin_config.xml
    Check for:

    Code:
        <accessControl>
          <allow>
    ip.1.here
    ip.2.here
    ip.3.here
    </allow>
          <deny>ALL</deny>
    
    Code:
    service httpd restart
     

Share This Page