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:
http://markmail.org/thread/ychezllfymvruioc

Hope this helps,
Andy


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.


2010-05-18 
23:38:36|28128|2906:2900|reload|utils.pm:run_ssh_command(6180)|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
2010-05-18 
23:38:37|28128|2906:2900|reload|utils.pm:run_ssh_command(6262)|run_ssh_command 
output:
|28128|2906:2900|reload| getstate() = on
2010-05-18 23:38:37|28128|2906:2900|reload|utils.pm:run_ssh_command(6276)|SSH command 
executed on vclesx02, returning (0, "getstate() = on")
2010-05-18 23:38:37|28128|2906:2900|reload|vmware.pm:load(852)|rechecking state 
of vm vmguest-41 /virtualmachines/Ubuntu-v0vmguest-41/Ubuntu-v
0vmguest-41.vmx
2010-05-18 23:38:37|28128|2906:2900|reload|vmware.pm:load(857)|vm vmguest-41 
reports on
2010-05-18 23:38:37|28128|2906:2900|reload|vmware.pm:load(868)|sshd is NOT 
active on vmguest-41 yet

Gregory Duhon
Infrastructure Architect
Information Technology
California State University, Northridge
818-677-4114
gregory.du...@csun.edu


Reply via email to