One of the most common causes for SSH sessions hanging is a security group assigned to the instance has an incoming IP address whitelist. If the IP address you are connecting from doesn’t match, it won’t let you connect and silently hangs. Easiest way is to whitelist every IP address range but that’s not good practice.
It can also happen if the Security Group doesn’t allow access via standard port 22. In that case, you need to explicitly set your port when connecting.
Finally, if you’ve set up ‘password free’ SSH, make sure the keypair is valid and you haven’t messed up file access privs.
Suggest you try a process of elimination. Use the console SSH client to verify connection. See if that works. Then try the above steps to narrow it down on the client side.