Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

On a virtual debian machine in VIRTUALBOX I type: ssh -R 2222:localhost:22 andrea@, 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 port 22: failed Can you help me please??

share|improve this question

migrated from 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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.