Solved

SSH freezes after upgrade

Posted on 2011-02-15
4
410 Views
Last Modified: 2013-11-08
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

0
Comment
Question by:ezinder
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
de2Zotjes earned 500 total points
ID: 34906248
You updated the development box? Has the sshd been restarted after the update (or perhaps the development box rebooted)? If you upgrade and do not restart the daemon it is possible that it wants to use a dynbamic lib that is no longer present, hence the stuck session.

The escape sequence for a "stuck" ssh session would be <enter>~.<enter>

0
 

Author Comment

by:ezinder
ID: 34928963
@de2Zotjes..

No.  I've updated my Mac OS X from 1.5 to 1.6 (snow leopard)
0
 
LVL 6

Assisted Solution

by:de2Zotjes
de2Zotjes earned 500 total points
ID: 34931841
So it is strictly the client that changed. Is it only this connection that is not working, or are ssh sessions in general broken? Did the escape sequence I gave you indeed end the session?

Could you go on a commandline and start the ssh session with extra verbosity: ssh -v -v -v <development box>. Please paste the output of that here
0
 
LVL 3

Expert Comment

by:ilarge
ID: 35402060
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.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Deploystudio is a system which can be used to deploy OSX clients and servers within the small/medium or large business environments. The system is built onto of the OSX Server NetBoot system and uses images & workflows as its core assets. While work…
The error "There was an error performing the update" occurred on a Mac OS X client workstation running  Symantec AntiVirus for Mac (http://www.symantec.com/business/products/purchasing.jsp?pcid=pcat_security&pvid=825_1) - the Enterprise product vers…
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now