SSH into VirtualBox Guest: Connection Refused
- by Eric J.
Setup
Windows 7 64-bit host OS running VirtualBox 4.2, with Ubuntu 12.04 guest OS.
OpenSSH server is installed and running (ssh -v localhost connects locally in the guest machine).
Can SSH to external servers (no outbound Windows firewall rule blocking port 22)
Can ping the IP of the guest (192.168.56.101)
Problem
Using PuTTY to SSH to the IP of the guest OS (192.168.56.101), PuTTY returns almost immediately with
Network error: connection refused
How can I diagnose & resolve this issue?