Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SSH installation issues 2

Status
Not open for further replies.

Bronco76

Technical User
Sep 10, 2003
7
US
While installing SSH I recieved this error message:

/etc/rc.d/rc2.d/Ksshd
/etc/rc.d/rc2.d/Ssshd
/etc/ssh/sshd_config

RSA key generation failed
instal: Failed while executing the ./openssh.base.server.post_i script.

0503-464 installp: The installation has FAILED for the "root" part of the following filesets: openssh.base.server 3.7.0.5200

I have researched this and everything keeps pointing me back to installing openssl, which I have allready done. Has anyone seen this before?

 
What version of AIX are you running?

Are you using a third-party package manager?

Do an lslpp -l|grep -i ssh and let's see what you've got
installed. We'll go from there.
 
Thanks for responding bvgsy, I am running AIX 5.2-3 and the lslpp returned this:
# lslpp -l|grep -i ssh
openssh.base.client 3.7.0.5200 COMMITTED Open Secure Shell Commands
openssh.base.server 3.7.0.5200 COMMITTED Open Secure Shell Server
openssh.license 3.7.0.5200 COMMITTED Open Secure Shell License
openssh.man.en_US 3.7.0.5200 COMMITTED Open Secure Shell
openssh.msg.EN_US 3.7.0.5200 COMMITTED Open Secure Shell Messages -
openssh.msg.en_US 3.7.0.5200 COMMITTED Open Secure Shell Messages -
openssh.base.client 3.7.0.5200 COMMITTED Open Secure Shell Commands

 
I found the problem was the sequence of the installation, I had to de-install the openssh bundle that I had previously installed and then I installed:

openssl-0.9.6m-1.aix5.1.ppc.rpm

I then installed:

openssh-3.7.1p2_52.tar.Z (you have to register to download)

This sequence seemed to do the trick as far as the installation..

 
I had this issue yesterday with a fresh AIX 5.2 ML3 install and the latest version of OPENSSL and OPENSSH downloaded from the developerworks site. Openssl installs perfectly but openssh fails installing openssh.base.server. I had done everything I could find using google to search for the errors about RSA Key Generation Failure. I ended up calling IBM Supportline and found out that if you list the *random devices in /dev you will find that /dev/random and /dev/urandom are supposed to have unique major/minor numbers. In my case /dev/random had the same major/minor as /dev/rmt0 and /dev/urandom had the same as /dev/rmt0.1. I removed the /dev/random and /dev/urandom rebooted and when it came back up it re-created /dev/random and /dev/urandom with unique numbers and I was able to install the openssh.base.server and it came right up.

Hope this helps someone...

Scott

Scott Figgins
IBM Cate/RS6000
aol im: fig4ibm
yahoo im: fig4ibm
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top