VirtualBox Port Forwarding on Windows 7 not Working
Im trying to ssh onto my VirtualBox from my Windows 7 host via port forwarding, but VirtualBox wont open the port for
I used this article to ssh into my Raspberry pi3 VM.
Using this command ssh -p 2222 pi@localhost
.
Originally, I had kept trying to use ssh pi@10.0.2.x -p 2222
, but it didn't work and kept returning a "Connection timed out." My port number is 2222, but yours could be different depending what you set in your VirtualBox.
I am using a Windows 10 into a Debian Raspberry Pi VM (VirtualBox).