Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

closed as off-topic by devicenull, Ward, MichelZ, Rex, TheCleaner Apr 4 at 18:59

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must be relevant to professional system administration. Server Fault is dedicated to professional system and network administrators. End user and enthusiast questions are off-topic (contact your system administrator or hire a professional to help you out). Please see the Help Center for more information." – devicenull, MichelZ, Rex, TheCleaner
If this question can be reworded to fit the rules in the help center, please edit the question.

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

2 Answers 2

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.

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

I fix this problem to restart sshd in my centos.

See here

Just this...

share|improve this answer

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