Use this procedure to download and install OpenSSH software tools on an AIX® logical partition. OpenSSH must be set up so that you can facilitate authentication and communication between the Partition Load Manager server and the controlling Hardware Management Console (HMC).
Whenever the Partition Load Manager satisfies a resource request, it uses remote HMC commands to gather partition information and initiate dynamic logical partitioning operations. The HMC must be enabled for OpenSSH by activating the Enable/Disable Remote Command Execution task on the HMC.
When you are setting up a user on the HMC for OpenSSH, specify one of the following roles:
Before you can use OpenSSH, there must be a user on the HMC that has remote command enabled. This user must exchange ssh keys with the configured HMC user, but does not have to be the same user as the plmuser ID.
OpenSSH software tools support the SSH1 and SSH2 protocols. The tools provide shell functions where network traffic is encrypted and authenticated. OpenSSH is based on client and server architecture. OpenSSH runs the sshd daemon process on the AIX host and waits for the connection from clients. It supports public-key and private-key pairs for authentication and encryption of channels to ensure secure network connections and host-based authentication. For more information about OpenSSH, including the man pages, see http://www.openssh.org.
The OpenSSH software is included on the AIX 5.3 Expansion Pack. This version of OpenSSH is compiled and packaged as installp packages using the openssh-3.7.1p2 level of source code. The installp packages include the man pages and the translated message filesets. The OpenSSH program contained in the Expansion Pack CD-ROM media is licensed under the terms and conditions of the IBM® International Program License Agreement (IPLA) for Non-Warranted Programs.
Before installing the OpenSSH installp format packages, you must install the Open Secure Sockets Layer (OpenSSL) software that contains the encrypted library. OpenSSL is available in RPM packages from the AIX Toolbox for Linux® Applications Web site.
Because the OpenSSL package contains cryptographic content, you must register on the Web site to download the packages. You can download the packages by completing the following steps:
After you download the OpenSSL package, you can install OpenSSL and OpenSSH.
# geninstall -d/directory R:openssl-0.9.6gwhere directory is the name of the directory to which you downloaded the OpenSSL package. Output similar to the following displays:
SUCCESSES --------- openssl-0.9.6g-3
# geninstall -Y -d/directory I:openssh.baseUse the -Y flag to accept the OpenSSH license agreement after you have reviewed the license agreement.
# geninstall -IapE -ddirectory openssh.base 2>&1 |pg
Installation Summary -------------------- Name Level Part Event Result ------------------------------------------------------------------------------- openssh.base.client 3.6.0.5200 USR APPLY SUCCESS openssh.base.server 3.6.0.5200 USR APPLY SUCCESS openssh.base.client 3.6.0.5200 ROOT APPLY SUCCESS openssh.base.server 3.6.0.5200 ROOT APPLY SUCCESS
You can also use the smitty license_on_media fast path to view the license, and the smitty install_software fast path to install OpenSSL and OpenSSH.
The following OpenSSH binary files are installed as a result of the preceding procedure:
SSH access to the HMC from the Partition Load Manager server
After you have installed SSH, you can generate the SSH keys and communicate with the HMC.
If you are going to run the Partition Load Manager server under the plmuser ID, grant SSH access to the HMC from the Partition Load Manager server by using the following steps:
ssh-keygen -t rsa
scp hscroot@p5hmc1:.ssh/authorized_keys2 ~/.ssh/tmp_authorized_keys2 cat ~/.ssh/id_rsa.pub >> ~/.ssh/tmp_authorized_keys2 scp ~/.ssh/tmp_authorized_keys2 hscroot@p5hmc1:.ssh/authorized_keys2
ssh hscroot@p5hmc1 date
ssh hscroot@p5hmc1 lssyscfg -r sysUnless the name of the managed system is changed on the HMC using the Properties tab on the managed system, the default managed system name is similar to the following:
eServer-9117-570-SNxxxxxxx
ssh hmcuser@hmchost lssyscfg –r lpar –m machine