Header Shadow Image


Install OpenSSH from AIX CD

If you've just installed AIX from CD, there is no SSH / SSL.  Getting and compiling one from the web proved to be challenging.  Here's the steps to do so:

mount -V cdrfs -o ro /dev/cd0  /cdrw
cd /cdrw/installp/ppc

smit installp
Install Software

* INPUT device / directory for software              [.]
* SOFTWARE to install  (Press ESC+4 then select )

 > openssh.base                                                       ALL
    + 6.0.0.6103  Open Secure Shell Commands                             
    + 6.0.0.6103  Open Secure Shell Server                               
 > openssh.license                                                    ALL
    + 6.0.0.6103  Open Secure Shell License                              
 > openssh.man.en_US                                                  ALL
    + 6.0.0.6103  Open Secure Shell Documentation – U.S. English         
 > openssl.base                                                       ALL
    @ 1.0.1.500  Open Secure Socket Layer                                
 > openssl.license                                                    ALL
    + 1.0.1.500  Open Secure Socket License                              
 > openssl.man.en_US                                                  ALL
    @ 1.0.1.500  Open Secure Socket Layer                                

The final setups should look like this:

                                                        [Entry Fields]
* INPUT device / directory for software               .
* SOFTWARE to install                                [openssh.base                                           > +
  PREVIEW only? (install operation will NOT occur)    no                                                       +
  COMMIT software updates?                            yes                                                      +
  SAVE replaced files?                                no                                                       +
  AUTOMATICALLY install requisite software?           yes                                                      +
  EXTEND file systems if space needed?                yes                                                      +
  OVERWRITE same or newer versions?                   no                                                       +
  VERIFY install and check file sizes?                no                                                       +
  Include corresponding LANGUAGE filesets?            yes                                                      +
  DETAILED output?                                    yes                                                      +
  Process multiple volumes?                           yes                                                      +
  ACCEPT new license agreements?                      yes                                                      +
  Preview new LICENSE agreements?                     no                                                       +

  WPAR Management
      Perform Operation in Global Environment         yes                                                      +
      Perform Operation on Detached WPARs             no                                                       +
          Detached WPAR Names                        [_all_wpars]                                              +
      Remount Installation Device in WPARs            yes                                                      +
      Alternate WPAR Installation Device             []

 

Press Enter then test login to your LPAR using SSH.


# lslpp -L|grep -Ei "openssl|openssh"
  openssh.base.client     6.0.0.6103    C     F    Open Secure Shell Commands
  openssh.base.server     6.0.0.6103    C     F    Open Secure Shell Server
  openssh.license         6.0.0.6103    C     F    Open Secure Shell License
  openssh.man.en_US       6.0.0.6103    C     F    Open Secure Shell
  openssh.msg.en_US       6.0.0.6103    C     F    Open Secure Shell Messages –
  openssl.base             1.0.1.500    C     F    Open Secure Socket Layer
  openssl.license          1.0.1.500    C     F    Open Secure Socket License
  openssl.man.en_US        1.0.1.500    C     F    Open Secure Socket Layer
#

 

Cheers,
TK

Leave a Reply

You must be logged in to post a comment.


     
  Copyright © 2003 - 2013 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License