Posts Tagged ‘ssh’

Shutting down ESX guest from command-line/ssh

vmware_logo_square
This can be done through the Service console or through SSH. The path to the configuration file will referred as . This get be obtained by using the command ” vmware-cmd -s listvms” 1) log into the esx server that the guest is located. (I use SSH personally) 2)Run the following command to get a list of the register guests config files on the esx server vmware-cmd -s listvms Output would look like: [root@ESXHOST ~]# vmware-cmd -s listvms /vmfs/volumes/4ba33211-381fb8d0-bc97-0010186458a2/GUSET1/GUEST1.vmx ...

Allow root to access ESX via SSH

putty
This will allow the root user access via ssh which is disabled by default. 1. Go to the service console on the physical server and log in as root 2. type “vi /etc/ssh/sshd_config” (with quotes of course) *if you dont know “vi” look it up before going any further. 3. Change the line that says PermitRootLogin from “no” to “yes” 4. Now restart the sshd service by entering “service sshd restart” I would only do this if the root password is complex and...
Twitter Delicious Facebook Digg Stumbleupon Favorites More
329 queries in 2.709 seconds.