After Security Update today: "Bus error" when starting "ssh" client
Hi,
I'm using OS X 10.5.2 and updated my system with the newest Safari 3.1 and Security Update a few hours ago. After I did this update, I cant use the command-line ssh client anymore. When I start the ssh, I immediately get a "Bus error" on the shell.
I'm still investigating hoping as I'm sure we all are that we can find a workaround before Apple comes around with a fix. One interesting thing I found so far though is that "sudo ssh" seems to work for me just fine while ssh in my user account's context yields a bus error.
The new one reports version (ssh -V) as: OpenSSH_4.7p1, OpenSSL 0.9.7l 28 Sep 2006
The one it replaced gives: OpenSSH_4.5p1, OpenSSL 0.9.7l 28 Sep 2006
4.7 and 4.7p1 are the current versions from OpenSSH. Past versions are available in the
old directory on the ftp site (mirrors are listed by country, go to openssh.org to start).
My ssh has the same problem as others here-I sent Apple a report. I already had Macports installed, but not Macports-openssh, so I decided to install that. It also does not work, although instead of immediately quitting & reporting a "bus error", it hangs (after first checking the installed RSA keys & adding the new key to the known_hosts file).
/opt/local/bin/ssh localhost
The authenticity of host 'localhost (::1)' can't be established.
RSA key fingerprint is blah-blah-blah.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
(it just hangs here)
ssh localhost
Bus error
sudo ssh localhost
(prompts me for password, then hangs)
Any time it hangs, if I set CrashReporterPrefs to Developer, I get regular (~once per minute, but irregular) popups saying that the application "ssh-agent quit unexpectedly", with some further information I've sent to Apple.
I reinstalled the update (Security Update 2008-002 v1.0 (Leopard)) and restarted-nothing changed.
Of course, using putty for Windows through Parallels works-but I'd prefer a more elegant solution...
downloaded todays security and safari update. my imac is now stuck in a constant restart loop. it gets to apple logo and black windmill then restarts constantly! I've flashed the pram, ran checks with disk utility using an old tiger disk, and also a full extensive hardware check(d on startup). I don't wanna lose my music games movies etc any tips guys? well scared!!
Do you have a ~/.ssh ? If so, what are the permissions of the directory and files there? Also check /etc/ssh* - everything but the *key files should be world-readable.
mv'ing my .ssh directory to .ssh-bak was one of the first things I tried actually. It didn't help at all unfortunately. Permissions on the ssh config files in /etc look good. As for the contents of ssh_config, there are no options actually set. Everything in that file is a comment.
Are you sure? I've always done 'chmod 0700 ~/.ssh' and 'chmod 0600 ~/.ssh/*' and that worked just fine. Anyway, even if I rename .ssh to .ssh-bak the 'Bus error' remains, so permissions on .ssh don't seem to be related to the 'Bus error'.
It does seem ssh does not crash when I run 'sudo ssh'.