0
I have two virtual machines running in Virtualbox. I have Minix running in one, Linux Mint in the other (and windows on the host machine). I need to ssh from Linux Mint to Minix (so I want to open a terminal in Linux Mint that controls the Minix machine).
I can ssh from the host to minix. I do this using port 2222 on my host machine (which is forwarded to port 22 on the guest machine).
I then tried to forward port 2222 on linux mint to port 2222 on the host machine. This doesn't work however (in fact, when I try this, I can't ssh from my host machine anymore: I have to shutdown the virtual machine for this to become possible again).
I also tried using a different port instead of 2222, but this doesn't make a difference. How can I ssh from Linux Mint into Minix?
Good post (I don't have the reputation to upvote though)! Could you elaborate a little? Right now I'm trying to set up a NAT network (option 1 seems complicated, and it seems you have to use a device driver at the host to use a bridged network, which I'd rather avoid).
I still want to be able to connect to the internet on both VM's, so I set up the NAT network at adapter 2. When I use ports, won't the VM use the first adapter? I don't understand what the NAT network is doing... – Mon Kee Poo – 2014-04-03T19:10:58.170