The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 02-08-2006
Registered User
 

Join Date: Jun 2005
Posts: 94
key ssh

hello

I want to connect from server1 to server2 (Aix 5.3) with ssh, without password prompt.
So i define a ssh-key

On server1:
ssh-keygen -b 1024 -f identity -P '' -t dsa
scp identity.pub toto@server2:/tmp/identity-.pub

On server 2:
cat identity-.pub >> .ssh/authorized_keys
chmod 400 .ssh/authorized_keys

On server1:
ssh -i identity
and i have the message :
"Usage: Segmentation fault(coredump)"

I work with ssh 2
It 's the same problem with ssh/authorized_keys2 on server2

thank you
Reply With Quote
Forum Sponsor
  #2  
Old 02-21-2006
Registered User
 

Join Date: Jan 2006
Location: india
Posts: 29
ssh

this is justone thign i know....

as for as ssh or ssh2 is concerned, there is a /.shosts file in root directory.
This directory mush have the entries of the other server user account, can also be root. This file should be there in server2 also. Its soem form of handshaking for allowing root commmands to be executed.
Reply With Quote
  #3  
Old 02-22-2006
Registered User
 

Join Date: Jun 2005
Posts: 23
If you have your keys exchanged, you don't need to have a .shosts file. This should work. You can run ssh with a "-d" flag in debug mode (-dd gets you more debugging,
-ddd even more, etc.).

A segmentation fault means that your program is trying to point to memory that does not belong to it. 9 times out of 9, this is because your program has a pointer that was not initiallized, and thus points to 0, a memory location that is owned by the operating system. I don't know what version of ssh you have, but it appears to be buggy.

I ran into similar problems on a Solaris 9 box. What the problem ended up being there was that the ssh was compiled for 32 bits (it was a 32 bit CPU), but the ssl was compiled for 64 bits. My point being that it may not be your ssh, but rather your ssl that is broken.

Maybe "truss" would help you figure out where it is core dumping? Good luck.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:09 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0