unable to restart ssh services


Hello Team,

I have a  dedicated linux  server  of  centos   6.x   i am unable to restart  the ssh services . i am facing the following  error  while   restart the services .

[root@localhost]# service  sshd restart
starting                             [failed]

franklinneal Supporter Asked on October 15, 2016 in Technology.
Add Comment
1 Answer(s)

This issue may be caused due to the misconfigurations of ssh settings

Restart the sshd services

[root@localhost]#service sshd restart

if it fails to restart then reinstall the ssh.

[root@localhost]# yum reinstall openssh*

After  successful  installation

[root@localhost]# service sshd restart

stooping                                      [ok]
starting                                        [ok]


jessicalola Supporter Answered on October 15, 2016.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.