SSH hangs
If ssh or git keeps waiting for a key exchange with the remote server, there may be an MTU/fragmentation problem.
To resolve that issue, you should try the following command on the active connection:
ifconfig eth0 mtu 576
And if it does not work, try 1000 instead.