Don’t work ssh in a VM Centos [closed]

When I tried to connect my Ubuntu 13.10 to my VM Centos 6.5 using ssh appear the message “Connection refused” or “No route to host” even than I change the port, noting change.

see here

I need to use SSH, VPN and Samba, but this IP in my VM Centos do not work.

How Can I resolve this problem?

Answer

Your guest OS (the CentOS VM) does not have an IP independent of the host OS (Ubuntu). If you want to ssh into the guest, you will need to set up either NAT networking or a bridged network interface in your hypervisor.

Attribution
Source : Link , Question Author : Vitor Mazuco , Answer Author : jayhendren

Leave a Comment