See this AskUbuntu item on this bug https://askubuntu.com/questions/1229456/ssh-fails-with-connection-timed-out-in-vpn-and-hangs-here-expecting-ssh2-msg
I resolved this with the suggested setting: > As a temporary workaround, setting the KEX algorithm manually solves this > problem for me. > Add KexAlgorithms ecdh-sha2-nistp521 to the corresponding SSH config, or add > -oKexAlgorithms=ecdh-sha2-nistp521 to the command line args for one time use. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1874257 Title: SSH fails with connection timed out - in VPN and hangs here "expecting SSH2_MSG_KEX_ECDH_REPLY" + Ubuntu 16.04.6 LTS To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1874257/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs