I dont have much experience on networking or Linux, but I'm trying to ssh into an Ubuntu virtual machine from outside my home network. The Ubuntu virtual machine (VirtualBox) is running on 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@ -- connection refused
Is there anything I have to do inside the virtual machine to allow incoming connections? Or forward any port?
Is there anything I'm doing wrong, any help would be greatly appreciated!!