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.

status warning - ssh restarted over and over after port change

Discussion in 'General Discussion' started by kjg, Nov 10, 2013.

  1. kjg

    kjg Well-Known Member

    Joined:
    Mar 2, 2004
    Messages:
    147
    Likes Received:
    0
    Trophy Points:
    16
    Hi
    I changed port for ssh on one server and now I get status warnings all the time about SSH being restarted.

    I did the change according to the documentation:

    I opened up /etc/ssh/sshd_config and changed the port in there and restarted SSH.
    It works fine and I can log in using the new port

    But, after I did this, I keep getting "Status warnings" saying:
    SSH [restarted - 8 events]

    What did I miss?

    // kjg
     
    #1 kjg, Nov 10, 2013
    Last edited: Nov 10, 2013
  2. kjg

    kjg Well-Known Member

    Joined:
    Mar 2, 2004
    Messages:
    147
    Likes Received:
    0
    Trophy Points:
    16
    OK, found the reason to this.

    tailwatchd has to be restarted after port is changed.

    case closed

    //kjg
     
    #2 kjg, Nov 10, 2013
    Last edited: Nov 10, 2013
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page