The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Change Main IP (SSH)

Discussion in 'General Discussion' started by Batu, Oct 29, 2005.

  1. Batu

    Batu Member

    Joined:
    Dec 17, 2004
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    Where can i change Main shared ip in SSH ? I create /var/cpanel/mainips/root and not running.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You need to edit /etc/ssh/sshd_config and change the ListenAddress directive to the IP address you want to use, then restart sshd and test before logging out of your original session incase of problems.
     
Loading...

Share This Page