-3

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?

3
  • 1
    And your question is?
    – user143703
    Apr 1, 2014 at 17:09
  • How can I connect in my VM Centos using ssh? Apr 2, 2014 at 15:19
  • Please, unhold my question. Apr 3, 2014 at 22:31

2 Answers 2

1

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.

3
  • Ok but my vm centos is already on a bridged network interface see here link And is not work my ssh Apr 3, 2014 at 22:28
  • is the ssh daemon running on centos?
    – jayhendren
    Apr 3, 2014 at 22:29
  • I don't know. how can I discover if I use a ssh daemon? Apr 3, 2014 at 22:32
0

I fix this problem to restart sshd in my centos.

See here

Just this...

Not the answer you're looking for? Browse other questions tagged .