image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old August 18th, 2008, 11:22 PM
Registered User
 
Join Date: Aug 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
vbdjames is on a distinguished road
ssh-keygen throws "Bus error"

Under OS X 10.5.4, if I try "ssh-keygen", I get a Bus error.

It will run if I "sudo ssh-keygen", but then all of my ssh commands require me to sudo to get them to run.

Any ideas?
Reply With Quote
  #2  
Old August 19th, 2008, 08:10 AM
nixgeek's Avatar
Mac of the SubGenius! :-)
 
Join Date: Jan 2004
Location: Miami, FL
Posts: 7,686
Thanks: 17
Thanked 95 Times in 79 Posts
nixgeek has a spectacular aura aboutnixgeek has a spectacular aura aboutnixgeek has a spectacular aura about
That is strange. Are you doing it from within your home path when in the Terminal?
__________________
Apple iMac G5 17" (2 GHz G5) - Mac OS X 10.4.11
Apple Macintosh Quadra 650 (33 MHz MC68040) - Mac OS 8.1
Apple PowerBook Duo 230 (33 MHz MC68030) - System 7.1
"JHVH-1" (2 GHz AMD Athlon XP 2400+) - Slackware 12.1
"Kidbuntu" (2.8 GHz Celeron D 335) - Ubuntu 8.04
Reply With Quote
  #3  
Old August 19th, 2008, 05:28 PM
Registered User
 
Join Date: Aug 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
vbdjames is on a distinguished road
Yes - here's a cut/paste:
Code:
imac:~ djames$ pwd
/Users/djames
imac:~ djames$ ssh-keygen
Bus error

imac:~ djames$ sudo ssh-keygen
Password:
Generating public/private rsa key pair.
Enter file in which to save the key (/var/root/.ssh/id_rsa):
And regardless if I accept that file location or direct it to ~/.ssh/id_rsa, it creates a key I cannot use without sudo (and that has root as the username).

I do not have this problem on my macbook, which is at same OS version/build.
Reply With Quote
  #4  
Old August 19th, 2008, 08:57 PM
kilowatt's Avatar
mach-o mach-o man
 
Join Date: Mar 2001
Location: irc.lfnet.net #kilonet
Posts: 980
Thanks: 0
Thanked 0 Times in 0 Posts
kilowatt is on a distinguished road
Check permissions on ~/.ssh.
ls -ld ~/.ssh
and maybe, if there is already a file present that you don't have permission to override.
ls -lr ~/.ssh
__________________
irc.lfnet.net #kilonet -+=join in=+-
Quote:
...the belief that the rights of man come not from the generosity of the state but the hand of God...
PEBKAC - Problem Exists Between Keyboard And Chair. --who said it first?
Audio Engineer - ProTools and Logic Pro Certified.
FCC Licensed RF Technician
Reply With Quote
  #5  
Old August 20th, 2008, 07:16 AM
Registered User
 
Join Date: Aug 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
vbdjames is on a distinguished road
Solved

Turns out it was a problem with an old version of Instant Hijack (a component of the Audio Hijack application). It was doing some "bad" kernel patching. I tried to post this before with a link to the article where I found the answer, but that post went into "waiting for approval"-land, so I'm leaving the link out this time in hopes that it will post. Google "ssh-keygen bus error audio hijack" to find the articles...
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 05:07 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.