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 Failing

Discussion in 'General Discussion' started by Shuriken1, Sep 23, 2005.

  1. Shuriken1

    Shuriken1 Member

    Joined:
    Apr 5, 2005
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Hi, just discovered a strange situation with my server. All seems fine other than the fact I cannot ssh into it. Putty tells me the conection was refused instantly.

    I tried restart SSH in WHM and I received the following:

    Attempting to restart sshd
    Waiting for sshd to restart.... . . . . . . . . . . finished.

    sshd status

    root 28694 0.5 1.4 16804 14476 ? S 12:42 0:00 /usr/local/cpanel/whostmgr/bin/whostmgr ./ressshd
    root 28712 0.3 0.1 5100 1548 ? Ss 12:42 0:00 /usr/sbin/sshd


    Sep 23 12:42:44 aquarius1 sshd: sshd -TERM succeeded Sep 23 12:42:45 aquarius1 sshd: succeeded sshd has failed, please contact the sysadmin.

    I told my provider this and he did not know, suggested I ask you guys. Any thoughts are greatly appreciated, thanks.

    Shuriken1.
     
  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
    What OS are you running? Most SSH issues need to be investigated from the server console.
     
  3. Shuriken1

    Shuriken1 Member

    Joined:
    Apr 5, 2005
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    I'm running FC3, sorry. Yeah I think I can feel a remote hands bill coming on. :/

    Out of interest as well apache failed earlier but was restarted "automagicly" by cpanel. I had this a few days ago as well, any idea why this might and do you think they could be linked?

    Thanks,

    Shuriken.
     
  4. 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'd probably need to check the apache error logs in /etc/httpd/logs/error_log for the possible cause of the apache failure.

    I'll PM you about the SSH issue...
     
  5. Shuriken1

    Shuriken1 Member

    Joined:
    Apr 5, 2005
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Cheers, I looked in the logs but it was empty, which seemed a bit strange. I made a point of stepping up the sensitivity in the httpd.conf in the hope to get more info. Unfortunately I can't check it out because of this SSH problem. :(

    Shuriken1.
     
  6. Shuriken1

    Shuriken1 Member

    Joined:
    Apr 5, 2005
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    This has now been resolved, it was my personal firewall blocking my ssh client without telling me. Sorry for wasting your time.

    Shuriken1.
     
Loading...

Share This Page