Link to home
Start Free TrialLog in
Avatar of ezinder
ezinder

asked on

SSH freezes after upgrade

I just upgraded my os x from 1.5 to 1.6.   Prior to that, I used to SSH to my development box and had no issues.  Now, my ssh session prompts me with the user password and once I enter the password, the terminal freezes.  I don't get a cmd prompt, I can't Ctrl+C. I can't "exit".  

What changed?

I saw a similar question here on experts-exchange saying that I must modify my sshd_config file and add "ServerAliveInterval 120" to the file.  But that seems to be a solution for a disconnected session, and secondly, does not work for me.  

please help.

- Ez.

p.s. my remote host is Ubuntu 10.10

ASKER CERTIFIED SOLUTION
Avatar of de2Zotjes
de2Zotjes
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ezinder
ezinder

ASKER

@de2Zotjes..

No.  I've updated my Mac OS X from 1.5 to 1.6 (snow leopard)
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Try deleting ~/.ssh/known_hosts?

I don't know for sure if there is any difference in the file format between 10.5 and 10.6 but from my experience it fixes pretty much all ssh issues.