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?