1
I'm trying to connect over SSH to a server, but this happens:
14:14:49 9 ~$ ssh root@the-server
Connection closed by 111.112.113.114
When running SSH with -vvv
, SSH stops on 'expecting SSH2_MSG_KEX_DH_GEX_GROUP':
...
debug2: mac_setup: setup hmac-md5
debug1: kex: client->server aes256-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<8192<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP <-- blocks 1 or 2 minutes
Connection closed by 111.112.113.114
What is happening? Last week, SSH was working just fine, from the same computer to the same server. Nothing has changed except that today I'm in a coworking center.
Normally this is avoided by path MTU discovery – if any intermediate hop receives a too large packet, it returns an ICMP "Fragmentation Needed" error. Unfortunately, some networks break this by completely blocking ICMP...
– user1686 – 2014-09-22T15:38:41.690