I'm trying to connect between an Ubuntu and CentOS and reverse. From both sides I get black screen where I can press enter but nothing happens, not being asked for password.


SSH root@ SSHFS root@ /tmp/1

Ports are ok, connection being made (not refuses, I get that only on wrong ports), but there's just the black screen and nothing else. Alter a while I get timed out.

What can be the problem ?

  • Could you edit your question with the -vvv ssh option output? – maxxvw Jun 18 '15 at 9:10
  • Note: same thing I get with mount -t. What do you meam, maxxvw ? – Jayne Jun 18 '15 at 9:24
  • Do you mean that you are able to ssh into and then "mount -t sshfs root@ /tmp/1" failed? – maxxvw Jun 18 '15 at 9:44
  • No, I mean both SSH and SHFS commands (separately) have the same result: connection is not denied, but I get black screen where I can press enter. – Jayne Jun 18 '15 at 11:16
  • Then try: "ssh -vvv root@" to see if message can help – maxxvw Jun 18 '15 at 11:19

I think tcp connection cannot be established, please make sure you didn't forget to set port forwarding on your router or something like that. If you have another way to connect or a physical access to this server, try to sniff network with tcpdump from

tcpdump -i [interface] tcp port 22

Also try to connect with netcat for exemple:

nc 22

This should print ssh server version.

  • NC returns nothing. Same for TCPdump on ICMP and 22 (although ICMP works). TCPdump does see the broadcasting and other things of running it with no parameters. – Jayne Jun 19 '15 at 5:16
  • Seems to be something wrong with the virtualinterface IP. I can SSH to the WAN one, I'll do further testing.Thanks for the info. – Jayne Jun 19 '15 at 5:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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