Ssh quit hanging on my mac!
I was really frustrated because I was working via ssh from home to a solaris box. I really don’t know much about solaris, despite having spent time as a programmer on unix boxes (my debian experiences are mostly running apt utilities, which make it pretty easy compared to real sysadmins who know what they’re doing).
So I would get a little ways into the task, pop up a google search, and when I return the session was frozen. Close terminal, open a new one, log in again, stop to think up a new password for the user I’m adding… hung up again. If it weren’t for screen I would have lost my place a dozen times.
Finally I find a bit of help from shapeshed. I figured something was going wrong during idle, but I don’t really know enough about ssh to have figured it out. All I really needed was to set up ServerAliveCount and ServerAliveInterval as directed.
Now my ssh is rock-solid. It is truly a beautiful thing.
Now if only I could get Solaris to cooperate a little. Geez, my VM doesn’t have the man pages indexed for “man -k” usage. It’s not very novice-friendly at all. Looks like I’ll have to fake or borrow Sun expertise.


