Solved

SSH freezes after upgrade

Posted on 2011-02-15
4
416 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

​Being a Managed Services Provider (MSP) has presented you  with challenges in the past— and by meeting those challenges you’ve reaped the rewards of success.  In 2014, challenges and rewards remain; but as the Internet and business environment evol…
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
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 …

691 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