Problems installing SSH on AIX 5.2

Hi all. I'm a newbie around here and starting an "adventure" through AIX OS's.

I'm having a few troubles when i try to install OpenSSH 4.7.0.5201 through smitty installp. I have all prerequisites already installed on my server.

As you can see below, my problem is only with the SSH Server. All the documentation (openssh-doc-*) the client and the licenses were applyed successfully, but i wasn't able to isntall the openssh.base.server

Could you guys please give me a little help?

Server is an IBM p520 - AIX 5.2.0.0

Ty all.

    Installing Software...

+-----------------------------------------------------------------------------+
installp: APPLYING software for:
openssh.base.server 4.7.0.5201
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 4.7.0.5201
installp: Cleaning up software for:
openssh.base.server 4.7.0.5201
Finished processing all filesets. (Total time: 0 secs).
+-----------------------------------------------------------------------------+
Summaries:
+-----------------------------------------------------------------------------+
Installation Summary
--------------------
Name Level Part Event Result
-------------------------------------------------------------------------------
openssh.base.server 4.7.0.5201 ROOT APPLY FAILED

Welcome to the club. AIX is a very powerfull and robust Unix that is also nice to administrate. :cool:

Which oslevel do you use?
# oslevel -r
IIRC there used to be a problem with the early oslevels of 5.2 when one needed the prng RPM package from the IBM Linux Toolbox for Open SSH.
IBM AIX Toolbox download information
Choose "Alphabetically" from the right column and find the prng package in the list. However, in case you really use such an early 5.2 level you'd be better of if you update to the latest ML in which case the current OpenSSH / OpenSSL versions should install like a charm.
IBM Support: Fix Central

First of all thanks for the orientations, but i looked at the links that you recomended and i think that i have the last versions of the prerequisites to install ssh. See below

# oslevel -r = 5200-10

prngd 0.9.29-1
zlib-1.2.3-3
openssl-0.9.8.600

I think that those above were the prerequisites to install the OpenSSH 4.7.

When i first ran the smitty install, i had no problems during the installation of the base client, license application and documentation of the OpenSSH, but i'm having problems with the server and i couln't identify what is all about.

How can i uninstall an open*.base ? Like the OpenSSL or the OpenSSH files that are already installed?

Do i have to use rpm, geninstall, installp, smitty install commands?

BTW thanks...

Hm... I thought I did not need prngd from at least medium levels of 5.2 on... but I don't have a 5.2 system here to verify when that changed. So you have prngd installed - but is it also running?

To a beginner I'd always suggest to use System's Management Interface Tool SMIT. It knows the correct command syntax and tells you what it did when you look at the smit.script file or press F6 in the panel. Therefore it is a great tool to learn AIX.

AIX supports several installers but you'd use RPM for RPM packages and installp for BFF packages. SMIT will use either under the hood or geninstall which is some sort of wrapper for the former. Uninstalling the SSH package should look like this, the SMIT line might vary:
# installp -ugx openssh.base.server

Btw. as the USR part worked and the ROOT part failed: you did install as root did'nt you?

Sorry, but how can i check if the prngd is running as should be?

The installp -ugx command worked fine, i uninstalled all the .base files and tryed to reinstall them all with no success. I got exactly the same error.

Answering your question, all the installations that i did, i did as ROOT.

As you said, the USR part worked fine, but the ROOT one, didn't.

I do not know where you got that information from. I checked with both a 5.2 ML 10 server and the IBM Redbooks | AIX 5L Differences Guide Version 5.2 Edition and found you should not need the separate prngd package to use OpenSSH/OpenSSL. Reason is that AIX comes with its own cryptographically secure prng from version 5.2 on (and as I recalled it that just did not work correctly till about ML2 - that is not mentioned in the diff guide). Hence I'd suggest you uninstall the prngd rpm package and then try to install OpenSSH again.

Dear,

you need install openssl*.ppc.rpm(openSSL -- Cryptographic Libraries) befor your install openssh.base*.

Thanks for the info, but i think that you didn't read all post above. I have all the prerequisites already installed, but i'm having problemas only with the openssh.base.SERVER.

Thanks anyway...