I have installed Ubuntu 10.10 x64 as a guest OS in one of my virtual machines. My host OS is Windows 7 x64.

I would like to connect to the Ubuntu server instance using a client program or even a simple telnet connection originated from my host.

How do I configure the VirtualBox machine to achieve this?

link|improve this question
feedback

migrated from serverfault.com Aug 14 '11 at 20:19

This question came from our site for system administrators and desktop support professionals.

2 Answers

up vote 5 down vote accepted
link|improve this answer
I dont need ssh but it's ok even with that. My question was more related to the VirtualBox network configuration of the guest os. Do you think I have to change the network configuration? – Lorenzo Mar 24 '11 at 15:05
if you can't connect, try changing your connection mode to "bridged" – sreimer Mar 24 '11 at 15:16
Can you ping the guest VM? You can obtain the IP address of the gust VM by opening a terminal and typing "ifconfig". You can then use that IP address from you Windows host to do things like ping. Then you can decide if you want to install something like a telnet (please don't) or ssh server on the guest VM. HTH! – Tom Purl Mar 24 '11 at 15:47
feedback

You can pick one of the networking modes. Bridged networking can be used for this scenario. More details here:

To enable bridged networking, all you need to do is to open the Settings dialog of a virtual machine, go to the "Network" page and select "Bridged network" in the drop down list for the "Attached to" field. Finally, select desired host interface from the list at the bottom of the page, which contains the physical network interfaces of your systems. On a typical MacBook, for example, this will allow you to select between "en1: AirPort" (which is the wireless interface) and "en0: Ethernet", which represents the interface with a network cable.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown