1464 Views 9 Replies Latest reply: Nov 5, 2007 11:50 AM by giacomo Bertoldi
Been having this problem for a while now (since late Feb). It's apparently a problem with the Kerberos framework. See the following post and scroll down to near the bottom for instructions on how to fix it (requires downloading a 3rd party app caled pacifist).
You can also reinstall Kerberos.framework from the installation CD using the same method. A tip - once you've got it working, keep a copy of the working /System/Library/Frameworks/Kerberos.framework folder in a handy place on your HD because it will break again every time you update.
Not a very satisfactory solution I know. The alternative if you have fink (finkproject.org) is to use their version of SSH, but it will only work from the command line, not with GUI apps like fugu.
I just got this same error today. I've been using ssh daily since before you had your ssh crap out on you, and I've always been up to date. This morning I did the quicktime and airport updates, so maybe that's my problem. I'll have to wait until I get home to try the pacifist method using the install disc, but in the mean time I'm using the ssh from fink. Apple, you should fix this. ssh shouldn't be broken on a BSD machine. Bad Form.
Albino MacBook 2.0GHz Mac OS X (10.4.7) 2GB RAM, 120GB HD
I also have this problem (with Kerberos, SSH, and Keychain) every single time there is an update or security fix (Intel Macbook Pro with Developer Tools installed). This last time it seemed to be related (i.e. occurred simultaneously with) a disk/file system volume error that required using fsck -yf, too.
Using a darwinports version of OpenSSH doesn't solve the problem either, indeed pointing the blame squarely at the Kerberos framework, and cascading to everything that relies on it.
Why hasn't Apple fixed this problem? This has been occurring for at least the last 8 months!
I'd like to add a new clue, and clarify the "fix".
Yesterday, I installed updates on my boss' laptop, while logged in with my account. Knowing that updates seem to break ssh every time, I immediately tested it, and found that it worked.
Today, when my boss tried it, he again got the segmentation fault.
So it seems that the problem may be user-specific!
To clarify the "fix" - extracting the Kerberos framework from the CURRENT update package works fine. I don't think there is any need to go back to an earlier package or version of the framework.
P.S. I actually opened a ticket with Apple the last time I ran into this. Their answer was basically "archive and reinstall". They still don't seem to be acknowledging the problem.
I am so glad that I found this thread! I can't count the number of times that I have reinstalled OS X over the past year or so. I put up a thread a long time ago, and never got a satisfactory answer. I have had exactly the same problem: ssh seg faults, Keychain Access crashes, and I can't afp mount any disks. This happens after one update or another. Sometimes apparently innocuous updates. Sometimes after installing XCode. (I say sometimes, since I have reinstalled so many times.) Right now my system is "working", but I know that it is very fragile. I'll try this Kerberos framework trick the next time things break.
Again, thanks guys!
'ssh segmentation fault' started for me today, without me having done any software update. I did do a software installation yesterday, the a2ps 'ascii to ps print' package, which can't see how it may have intrefered with the Kerberos framework.
I am posting a quick solution based on what was said in a previous reply to this topic - I had a mirror copy of my startup disk in an external fire-wire disk, I simply erased
from my startup disk, and copied the corresponding folder in from the backup disk. ssh started working fine again. No restart needed. Took one minute.
I had the same problem today for the first time (I got this laptop in August).
I do not know if this is related to the end to the daylight savings time o to the last update of the last week.
By the way the last update was a nighmare for me, because it screwed up my user settings and I had to use the Mac X installation disck to fix the thing.
I wish Apple would be more careful next time.
This the error:
ba058011:~ giacomo$ ssh -v mongu.egr.duke.edu
OpenSSH_4.5p1, OpenSSL 0.9.7l 28 Sep 2006
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to mongu.egr.duke.edu [22.214.171.124] port 22.
debug1: Connection established.
debug1: identity file /Users/giacomo/.ssh/identity type -1
debug1: identity file /Users/giacomo/.ssh/id_rsa type -1
debug1: identity file /Users/giacomo/.ssh/id_dsa type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_3.9p1
debug1: match: OpenSSH_3.9p1 pat OpenSSH_3.*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.5
I've found a workaround doing ssh -1 this works.
Does anyone know a real solution?
I'm a little afraid to remove the folder /System/Library/Frameworks/Kerberos.framework