Windows – Virtualbox SSH from Windows 7 (host) to CentOS (guest)

centosfirewallsshvirtualboxwindows 7

My network adapter is set to "Bridged Adapter". My CentOS (guest) IP is 192.168.0.4 and I am able to view Apache web server (port 80) from Windows 7 (host) but I am unable to SSH (port 22). I get "connection refused" from putty.

Here's a screenshot of my iptables in CentOS:

enter image description here

Best Answer

If you are accessing the Apache HTTP Server welcome page using localhost and not the IP address, then it is possible that dhcpcd is not running. Have you verified that sshd is running?

Related Question