From the log output you included, it looks like the SSH commands are only working from the management node to the VM host vclesx02. The management node sends commands to both the VM host computer and the VM. It doesn't look like SSH is working to the VM vmguest-41.

I would log in to vmguest-41 via the VMware console in order to troubleshoot. Check the following:
-Did the VM get a private IP address via DHCP?
-Is the SSHD service running?
-What error do you get if you run a command manually from the management node to the VM such as: 'ssh -i /etc/vcl/vcl.key vmguest-41 ls'

If you get SSH working on the private interface, I would double-check that the external sshd service is working correctly since you're using Ubuntu. Check if you have the problem discussed in this thread:

Hope this helps,

Duhon, Gregory D wrote:
I am working with an Ubuntu image and cannot resolve this error.  Looking at 
the vcld.log file, I find ssh commands are working when accessing the 
vmguest-41 computer.  Below is a snippet of the log.  There has to be something 
real simple I have forgot to check.

23:38:36|28128|2906:2900|reload||executing SSH 
command on vclesx02:
|28128|2906:2900|reload| /usr/bin/ssh -i /etc/vcl/vcl.key  -l root -p 22 -x 
vclesx02 'vmware-cmd /virtualmachines/Ubuntu-v0vmguest-41/Ubuntu-v
0vmguest-41.vmx getstate' 2>&1
|28128|2906:2900|reload| getstate() = on
2010-05-18 23:38:37|28128|2906:2900|reload||SSH command 
executed on vclesx02, returning (0, "getstate() = on")
2010-05-18 23:38:37|28128|2906:2900|reload||rechecking state 
of vm vmguest-41 /virtualmachines/Ubuntu-v0vmguest-41/Ubuntu-v
2010-05-18 23:38:37|28128|2906:2900|reload||vm vmguest-41 
reports on
2010-05-18 23:38:37|28128|2906:2900|reload||sshd is NOT 
active on vmguest-41 yet

Gregory Duhon
Infrastructure Architect
Information Technology
California State University, Northridge

Reply via email to