This is happening to me since ubuntu 9.04, when I connect through ssh (from mac
and linux and windows clients it's the same) it hangs after a while, generally
after going through the command history, but it also happens when navigating
directories or trying to edit files.
When I had ubuntu 9.04
I forgot to mention, not just the ssh is what hangs, apache and other
services hangs too. And after a while (say 5 minutes) it all becomes
responsive again. Until I try a couple of commands / navigate some dirs
/ edit some file that it hangs again.
--
ssh-agent hangs