yes you are right i,m getting failed when i try to run service sshd restart, any idea how to fix it ?
woolmilkporc
Did you run the command as root? If you didn't try
sudo service sshd restart
What do you get with "service sshd status" (or "sudo service ...")?
You can check for errors in /var/log/auth.log (or whatever log is configured for the "AUTH" facility, if any) , or you can try to start sshd from the commandlne in order to get some info
/usr/sbin/sshd -e
Note that sshd will process just one connection when started with "-e", but will display error messages (if any) on the terminal.