I have a problem with SSH hanging on my Mac Book Pro. This only happens to me when I get back from work after I used SSH at work. Three factors I came across are SSH, our AFS network drive network, and the way we connect to the network.
At work, we use an Kerberos-based AFS drive to do all our software development work. I authenticate with Kerberos to access the AFS drive, where all my source code lives, but I open the local editor (Eclipse), which refers to files on the AFS drive. Whenever I need to compile my code, I use SSH for my development server (which is also authenticated for the AFS drive) and compiles from there. (Sanity Note: I know this is a super stupid setup, but I promise I have NOTHING to do with this. I'm just doing what I have.)
For my network settings, I use automatic location all the time. For this configuration, I have built-in Ethernet en1 configured to use DHCP and our company DNS server when I am at work (there is no wireless access). When I get home, I connect to my home network via a wireless network, again using DHCP.
I have a hunch that connecting an AFS / Ethernet configuration is somehow a criminal. Restarting the SSH daemon does not fix the problem. The only way I found to fix the problem is to restart the computer every time I want to use SSH. Keep in mind that I do not have other (known) problems on the network when I'm at home, when I had a laptop at work.
I have an employee who told me the same problem on their MBP.
. . !