Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On a virtual debian machine in VIRTUALBOX I type: ssh -R 2222:localhost:22 andrea@10.0.2.2, to make reverse tunneling and allow remote machine to see debian desktop. on the remote machine (ubuntu) I've: ssh_exchange_identification: connection closed by remote host and connect to 10.0.2.15 port 22: failed Can you help me please??

share|improve this question

migrated from stackoverflow.com Mar 18 '13 at 10:33

This question came from our site for professional and enthusiast programmers.

    
I've already modified my hosts.allow file adding the line: SSHD: ALL but nothing, ssh server still refuses to make my day a good day. – user1703524 Mar 18 '13 at 9:02
    
Is the "remote machine(ubuntu)" also running in VirtualBox? What's the host OS, what kind of networking have you configured for the VMs? – tink Mar 18 '13 at 18:50

You must log in to answer this question.