I have a CentOS as a guest VM. My host machine is 13.04. The CentOS can see the web but I cannot ssh into that VM.
My guest machine is CentOS 6.4 running in VirtualBox. From the VM window, I can update via yum and even browse on lynx
. It reports an internal IP of 10.0.2.15. However I cannot ssh from my host machine into this one. To double check, I've even turned off iptables.
Did I miss any steps? How might I be able to SSH into the guest from host?
VirtualBox Session Info
ifconfig of Guest (CentOS)
VirturalBox Network
Change the network interface from nat to bridged or host only. see http://www.virtualbox.org/manual/ch06.html#network_bridged
Do you need to run NAT? The NAT is hiding your VM. Think of NAT in firewall terms, unless you open a hole in your firewall anything initiated from outside the firewall is denied.
If you switch to bridged adapter then you will be able to reach your VM from "outside" your system.
You need to change the settings of the VM network from NAT to Bridged Adaptor for you to SSH to your VM.
Make sure your openssh-daemon is running. From root level
service sshd status
.