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.

SSH crash

Discussion in 'General Discussion' started by hybrid56, Sep 7, 2011.

  1. hybrid56

    hybrid56 Member

    Joined:
    Jun 24, 2011
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Hello,
    The SSH service crash every 5 days, and I can not ssh to log into.
    I have to connect to the intercace WHM and restart the openssh (ssh server).
    I do not see from where comes the problem.
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Have you checked /var/log/messages and /var/log/secure for any information when it goes down?
     
  3. hybrid56

    hybrid56 Member

    Joined:
    Jun 24, 2011
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Thank you, I did not know what log file it should go. The log has a lot of line, I do not know what to look pack. And I do not remember what time I restart the SSH service.
    Can be a safety? Because there are many bot that tries to connect via SSH.
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    By "Can be a safety?", do you mean could it be blocked for accessing due to brute force attempts? If this is what you mean, it could be CSF's LFD or cPHulk Brute Force Protection is blocking it due to brute force attempts, depending on which you are using. If you were blocked, it would connect and deny logging in rather than simply not connect.

    As for the files having a lot of lines, that is correct. You'll have to track down the time it restarted in the log (you could try restarting it to see what the restart looks like, then grep for that).
     
  5. hybrid56

    hybrid56 Member

    Joined:
    Jun 24, 2011
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Yes I was talking about because of brute force.
    I just restart SSH. The log message is nothing on SSH.
    I found it to secure:
     
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Is SSH connecting but refusing your password when you try to log in during those times? I still am uncertain based on your reply if you aren't able to login due to SSH actually being down, or if instead it connects but rejects your password. Brute force protection will allow the connection but refuse to log you in. This isn't the same as the service being down.
     
  7. hybrid56

    hybrid56 Member

    Joined:
    Jun 24, 2011
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    When I have the problem, ssh refuses to connect with putty. I can not type and the root password.
    So it's not a password problem but rather the SSH service.
     
Loading...

Share This Page