Monthly Archives: July 2020

Can’t SSH into VirtualBox Machine

This video will show you how to SSH into a VirtualBox Machine. This video is using CentOS although the concepts should be much the same for other Linux Distros. This Linux Tutorial shows you what do to when you can’t SSH into VirtualBox Machine. First you will need to power off your VM. Next you will need to right click, settings, click network, select adopter 2 and enable VirtualBox host only adapter. Once done you will need to power on the machine. Next you will need to make sure that this new connection has an IP address. In CentOS this is done by creating a new network connection in the /etc/sysconfig/network-scripts folder. We then configure this network have a DHCP IP address and restart the network connection. Once done we restart the network, and SSH in to our machine.