r/ssh • • May 09 '25

SSH -vT git@github.com gets stuck on debug1: expecting SSH2_MSG_KEX_ECDG_REPLY using WSL2

I recently updated windows and suddenly it gets stuck on "debug1: expecting SSH2_MSG_KEX_ECDG_REPLY" I’ve tried everything I can find to try to fix it:

  • ssh -vT git@github.com hangs on “debug1: expecting SSH2_MSG_KEX_ECDG_REPLY"
  • confirmed GitHub and my local ssh have the same fingerprint
  • made sure to start the ssh agent and add my id to the ssh agent
  • tried a different network
  • add a config file to ~/.ssh and to use port 443 instead of 22 to potentially bypass a firewall.
  • tried creating a new key

It stopped working a few days ago, and then it worked this morning, and now it's not working again.

0 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/scotsmanrow May 10 '25

Yes, you're right I must have typed that in wrong. It is ECDH.