Requirements:
You have to have direct access to console
1.) While you are at the console hit ALT + F1
2.) Type in ” unsupported ” and hit Enter
3.) Go ahead and type the root password
4.) Go and edit the /etc/inetd.conf file type : vi /etc/inetd.conf
5.) Uncoment the line where you can see “#ssh” (line 32). Remove the “#” mark at the beginning.
6.) Then press ESC and type in :wq to save the file and exit vi.
7.) Then run the command /sbin/services.sh restart
8.) Just for good measure I use the VSphere client to restart the ESXi server.
9.) Once its rebooted you should now be able to connect to your ESXi server using WinSCP or Putty
How to stop and start VM’s using SSH