I don't have much Linux or networking experience, but I'm trying to SSH into an Ubuntu virtual machine from outside of my home network. The Ubuntu virtual machine (running inside VirtualBox) is running a Debian desktop. I did some research and found I had to forward port 22 from the router to the virtual machine.
-I changed the network setting on the VM to bridge.
-I'm forwarding the port to the VM.
-I checked (http://www.yougetsignal.com/) to show the port as open.
But when I try to connect it is still not working.
ssh username@<public-ip-address> -- connection refused
Is there anything I have to do inside the virtual machine to allow incoming connections? Or forward any port?
If there is anything I'm doing wrong, any help would be greatly appreciated!!