0

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.

examples:

SSH [email protected] SSHFS [email protected]:/tmp /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 ?

6
  • Could you edit your question with the -vvv ssh option output?
    – maxxvw
    Jun 18, 2015 at 9:10
  • Note: same thing I get with mount -t. What do you meam, maxxvw ?
    – Jayne
    Jun 18, 2015 at 9:24
  • Do you mean that you are able to ssh into 1.2.3.4 and then "mount -t sshfs [email protected]:/tmp /tmp/1" failed?
    – maxxvw
    Jun 18, 2015 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, 2015 at 11:16
  • Then try: "ssh -vvv [email protected]" to see if message can help
    – maxxvw
    Jun 18, 2015 at 11:19

1 Answer 1

0

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 1.2.3.4:

tcpdump -i [interface] tcp port 22

Also try to connect with netcat for exemple:

nc 1.2.3.4 22

This should print ssh server version.

2
  • 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, 2015 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, 2015 at 5:41

You must log in to answer this question.

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