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 Restart Failed

Discussion in 'General Discussion' started by jackg164, Jun 1, 2011.

  1. jackg164

    jackg164 Member

    Joined:
    May 30, 2011
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Hello!

    I have detected this error when I try restart SSH from WHM:

    Code:
    SSH Server...
    
    Waiting for sshd to restart...............finished.
    
    sshd (/usr/sbin/sshd) running as root with PID 30595
    
    sshd: [ != SSH]
    sshd has failed, please contact the sysadmin.
    
    ...Done
    This is a bug?
     
  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
    Are you running SSH on a port other than 22 on the machine?
     
  3. jackg164

    jackg164 Member

    Joined:
    May 30, 2011
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Yes, is other port and always I have used other port for more security.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    The restart option for SSH in Web Host Manager is port aware, so using a non standard port should not result in it failing. Could you let us know the build of cPanel you are using:

    Code:
    # cat /usr/local/cpanel/version
    Thank you.
     
  5. jackg164

    jackg164 Member

    Joined:
    May 30, 2011
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Using 11.30.0.25
    But I have other server with version 11.28.87 and this error does not appears
     
    #5 jackg164, Jun 3, 2011
    Last edited: Jun 3, 2011
Loading...

Share This Page