Friday, February 18, 2011

HOWTO INSTALL OPEN SSH ON AIX6.1

1. To install open ssh you will also need open ssl.

for open ssl you can download from:
https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=aixbp&S_PKG=openssl&lang=en_US&cp=UTF-8

the file name is:
openssl.0.9.8.1301.tar.Z (6 MB)

for open ssh you can download from:
http://sourceforge.net/projects/openssh-aix/files/openssh-aix%20Source%20Patch/Openssh-4.5p1_srcpatch/openssh-4.5_srcpatch.tar/download

the file name:
openssh-4.5_srcpatch.tar

2. Once downloaded create a directory (eg /tmp/openssh) and transfer the files.
3. uncompress the files
4. tar -xvf for openssl and openssh

tar -xvf ./openssl.0.9.8.1301.tar
tar -xvf ./openssh-4.5_srcpatch.tar

5. install the openssl first. when you tar the open ssl file, it will create an openssl directory. cd to that directory. run this command
/tmp/openssh> cd openssl.0.9.8.1301
/tmp/openssh/openssl0.9.8.1301> inutoc .

use smit install and point the installation directory to /tmp/openssh/openssl0.9.8.1301 . remember to choose accept new licence as yes and all the files need to install.

6. the install openssh.
/tmp/openssh> inutoc .

use smit install and point the installation directory to /tmp/openssh . Remember to choose accept new license as yes and all the files need to install

7. to start the ssh , run the daemon as root user

/tmp/openssh> startsrc -g sshd


Good luck!

2 comments:

  1. hi, and thanks for the clear tutorial but i cant seems to be able to install openssh45. When I extract it, it give different patchfiles and i dont know how to install a patchfile on aix.Pls help!

    ReplyDelete
  2. you can go to IBM create account and download the patch for openssh45, it depends your AIX version.

    ReplyDelete