Virtual Box ssh not working on Virtual Box Ubuntu machine
- From within the VM, can you ssh to localhost? If not, check your ssh server.
- If you aren't using bridged mode for networking, you may need to access VirtualBox settings and forward port 22. This article has instructions and screenshots.
- Is there a firewall running on the VM? Ubuntu ships with ufw, so try
ufw status
first, before tinkering withiptables
.