ssh has failed and openssh-daemon is stopped

0 votes
asked 4 years ago in Dedicated Server Issues by whukadmin (5,940 points)

1 Answer

0 votes

cPanel server is'nt accessible vis ssh. We have tried to disabled the default port using steps :


Still not able to SSH to server.

In that case, you will have to request Data Center to attached a KVM for your server and check the status for sshd as follows.

root@server~]#/etc/init.d/sshd status

openssh-daemon is stopped

root@server~]#rm -f /dev/null

root@server~]#mknod /dev/null c 1 3

After these the permission should look like these.

root@server~]#ls -lh /dev/null

crw-r--r-- 1 root root 1, 3 Apr 23 19:11 /dev/null

After this try to start the sshd service.

root@server~]#/etc/init.d/sshd start

Starting sshd:                                             [  OK  ]

root@server~]#/etc/init.d/sshd status
openssh-daemon (pid  15840) is running...



answered 4 years ago by whukadmin (5,940 points)

Related questions