Iss1377083

Fixed the TFS item #1377083. 
Update the implementation of restartSshService(). Use service condrestart for redhat and centos, service restart for other Linux and FreeBSD distros.