Pages

Sunday, December 26, 2010

Error and Solution in Xen - Virtual Machine SSH Access

I create a Virtual Machine with distro as lenny using
xen.

I gave the IP Address mechanism as DHCP.
Every thing went fine.

I checked the status of my Virtual Machine  using

xm list

I logged in to my virtual machine using

xm console myVm

I was able to log into the Virtual Machine and I checked the IP Address.
using ,

ifconfig

Now I opened a Terminal in Domain-0 and tried ssh to that system,

ssh 192.168.39.240

It prompted me password.I gave the password.
After this, I got an error message as follows,

"stdin is not a tty ssh "

After checking various Forums, the following link solved that issue.


 http://lists.xensource.com/archives/html/xen-users/2006-09/msg00285.html

The problem was ,the package udev  was not installed .
I  installed  the package using,

apt-get install udev

Then I rebooted the virtual machine using
init 6
(or)
xm reboot myVm  in the Domain-0 will do the same.

Now I tried SSH from Domain-0.
Now I was able to work on the newly created Virtual Machine...

No comments:

Post a Comment