Friday, February 5, 2010

Connect to Ubuntu in VM from Windows using Putty

I have a VMWare workstation with a Ubuntu 9.04 on it. I want to use a terminal to connect it from the host PC whose system is Vista. Putty is my choice.You can choose the SSH or Telnet to connect. I choose the SSH.But it does not work at first giving a error message "connect refused". Ok, there must be something wrong or something we missed.
First, add All:All to the end of /etc/hosts.allow. Because it's your virtual machine hosted on your PC, I think you need concern the security.
First, you need install the ssh first. sudo apt-get install ssh
Then, I go to /etc/init.d, ssh localhost
After finishing these steps, it works now.

No comments:

Post a Comment