Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2006
    Posts
    159

    sshd has failed, please contact the sysadmin

    i have problem in SSH if i want to restart it its say :

    sshd has failed, please contact the sysadmin

    can any one tell waht i do ?

    Thank you

  2. #2
    Join Date
    Sep 2003
    Location
    UK - Scotland
    Posts
    576
    check your message logs for errors

  3. #3
    you need to look at the log files, to determine why it failed. If you can't find out why from the logs, you may need to start sshd -i from the command line and watch what it prints. If this isn't helpful, you may need to examine sshd's execution with strace or a debugger.

    If this isn't meaningful, Please contact the sysadmin.

    If your server is remote, don't close your current terminal window unless you want to take a trip to the datacenter.

    It might be helpful if you described your operating system, distribution, version and sshd verstion.

    % uname -a
    % cat /etc/issue
    % rpm -qa | grep ssh
    % dpkg -l openssh
    % netstat -auntp | grep 22

    I like to have a second sshd running on another port and have it started out of init.
    this way if my primary sshd dies, I can still get in.

    ss:12345:respawn:/usr/sbin/sshd -D -f /etc/ssh/sshd_config_2

    On my low memory VPS, I use dropbear instead of openssh. my /etc/inittab contains

    SS:2345:respawn:/usr/sbin/dropbear -F -w -d /etc/dropbear/dropbear_dss_host_key -r /etc/dropbear/dropbear_rsa_host_key -p <i>port</i>

    Steve
    Wiseburn Networks
    http://www.wiseburn.net/

  4. #4
    Join Date
    Oct 2004
    Location
    Kerala, India
    Posts
    4,771
    Are you using any control panel?
    If you are running your SSH on a different port you might see this error when restarting sshd from WHM.
    David | www.cliffsupport.com
    Affordable Server Management Solutions sales AT cliffsupport DOT com
    CliffWebManager | Access WHM from iPhone and Android

  5. #5
    Join Date
    Sep 2000
    Location
    Alberta, Canada
    Posts
    3,146
    Do you think WHM could be lying to you?

    I've seen that msg. before when nothing was wrong with SSHD.
    PotentProducts.com - for all your Hosting needs
    Helping people Host, Create and Maintain their Web Site
    ServerAdmin Services also available

  6. #6
    Join Date
    Jun 2002
    Location
    Hat Yai, Thailand
    Posts
    121
    Just saw this thread after one year.

    The answer is:

    You have changed the port in /etc/ssh/sshd_config from the default "22" to something else as you were trying to disallow direct root login.

    If you restart from WHM, you will get the error. You need to restart under shell. But the error is normal. SSH still functioning well.
    Janwawa Group Tour Management
    - http://janwawa.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •