If this is truley your issue, the command is
service sshd restart
other options are
Usage: service < option > | --status-all | [ service_name command ]
chkconfig --list (this will show you the status of the services) run level 3 4 5 should be set to "on"
to check if the service is running :
To restart the service
check if from your client you can see the 22/tcp port open.
What do you mean for "can't connect", you can't login as root or you can't connect at all.
If you found this or other information useful, please consider awarding points for "Correct" or "Helpful". Thank You!
I couldn't connect at all. I realized that my machine may have been on the wrong vlan so I ran the following command and changed the service console to the correct VLAN ID:
<esxcfg-vswitch vSwitch0 -p "Service Console" -v 102> 102 being the correct Vlan id..
Thanks again for your help.