Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two Windows 7 machines in my local network.

One Windows 7 with Virtual Box (running Ubuntu) installed.

Is it possible to connect to the Ubuntu from another machine by using vagrant ?

share|improve this question

migrated from stackoverflow.com May 2 '13 at 18:33

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

So essentially you are trying to access/manage a VirtualBox VM on a remote host with Vagrant? Nope, that's not possible currently with the existing Vagrant-VirtualBox provider :( Though there are solutions for other platforms like EC2 https://github.com/mitchellh/vagrant-aws/ that accomplish roughly the same...

share|improve this answer
    
Yes, that's what I want. Thank you. Is it possible to connect to it through ssh ? – Znatz May 2 '13 at 23:38
    
Where do you want to connect to via ssh? – cmur2 May 3 '13 at 7:51
    
Sorry for my English. I have 2 PCs (A and B) in local network. A has Virtual Box installed. The guest system is Ubuntu. What I want is to connect Ubuntu via ssh from B. I finally figure out how to do it now. By setting the virtual machine network type to bridged, make Ubuntu visible in the local network. I am able to ssh it from B now. Thanks a lot ! – Znatz May 3 '13 at 12:43

In your vagrant file, use a bridged network type then you can access it from another machine. This line for example:

config.vm.network :public_network

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .