How to install SSH in AIX

Goal:

Install OpenSSH in AIX 7.1.

Download

First, you will need to download the OpenSSL and OpenSSH packages from this location:

https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?source=aixbp

Installation

Create a directory called install into the directory /tmp:

#mkdir /tmp/install

Copy the files to directory /tmp/install.

Uncompress the files OpenSSH_6.0.0.6200.tar.Z and openssl-1.0.1.512.tar.Z.

#uncompress OpenSSH_6.0.0.6200.tar.Z
#tar -xvf OpenSSH_6.0.0.6200.tar
#uncompress openssl-1.0.1.512.tar.Z
#tar -xvf openssl-1.0.1.512.tar

Now install the openssl package:

#installp -ac -Y -d /tmp/install/openssl-1.0.1.512/ openssl.base openssl.man.en_US

Then install the openssh package:

#installp -ac -Y -d /tmp/install/OpenSSH_6.0.0.6200/ openssh.base openssh.man.en_US

You can check the started daemon with the lssrc command:

#lssrc -s sshd
Subsystem         Group            PID          Status
sshd             ssh              3277032      active

If the daemon is not started, you can start with the startsrc command:

#startsrc -s sshd

Enjoy!!!