SSH Terminal freeze in Mac OS X 10.6

After logging in with ssh from standard OS X Terminal (remote host is running FreeBSD) and idling for like 2-3 minutes it freezes and doesn't display any entered characters, doesn't react to 'Enter', etc. The only option is to re-open Terminal and login again. Also, just for reference, I haven't experienced this problem with Putty on Win 7 (same remote host). Any suggestions?
iivanAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

marookCommented:
It sounds strange to me, but sounds like a connection is dropped (and the local Terminal is not noticing).

Or, maybe the actuall SSH tunnel is not dropped (IP wise) but the data is stopping.

Does this also happen if you start something that keeps outputting to the terminal? (Like a simple ping every 5 sec..)
0
iivanAuthor Commented:
It's strange but not that uncommon -- I've googled the same problem and in that case changing ClientAliveInterval to 180 in sshd_config worked, but not for me.

If I run ping I can still type after it finishes (approx 5 minutes) but if I run nothing it freezes earlier (at most 4 minutes).
0
iivanAuthor Commented:
Ok, here's a solution: I created ~/ssh/config file and put 'ServerAliveInterval 120' line there (not ClientAliveInterval !). Usually people recommend editing /etc/sshd_config but in my case for some reason it didn't work (probably different ssh versions).
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
marookCommented:
Ahh, ok - cool - so you get the point yourself.. ;-)
0
iivanAuthor Commented:
Well, it's weird, I can't assign points to myself so I have only one choice :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.