My host is Windows 7 with VMware Workstation 10. I am running an Ubuntu 12.04 guest that is connected to an NAT network. How can I set up the network so that I can SSH from the host to the guest? I assume it has to do with port forwarding?

  • What's your current virtual network configuration? Do you have a network adapter attached to the NAT network? – Daniel B Mar 16 '14 at 15:21
  • @DanielB Yes, eth0 is connected to NAT on the guest. – Matt Mar 17 '14 at 0:45

VMware Workstation creates virtual interfaces on the host. One for the host-only network and one for the NAT network.

(This is one point where VirtualBox is different)

So you only need to determine the IP-address of the guest.

  • Do you mean the IP address of eth0 on the guest? – Matt Mar 17 '14 at 0:46
  • It works now. I don't know why it didn't before, even though I'm sure I tried that before. – Matt Mar 17 '14 at 0:49
  • I went through my command history... It turns out I was spelling my username wrong in the SSH command! – Matt Mar 17 '14 at 0:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.