|
Softpanorama |
May the source be with you, but remember the KISS principle ;-)
|
| News | Redbooks | IBM Links | Recommended Links | Recommended eBooks and Papers | Reference | |
| Tips | Etc |
The OpenSSH software is shipped on the AIX 5.3 Expansion Pack. This version of OpenSSH is compiled and packaged as installp packages using the openssh-3.8.p1 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.
http://www-1.ibm.com/servers/aix/products/aixos/linux/download.html
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/dev/cd0 R:openssl-0.9.6mOutput similar to the following displays:
SUCCESSES --------- openssl-0.9.6m-3
# geninstall -I"Y" -d/dev/cd0 I:openssh.baseUse the Y flag to accept the OpenSSH license agreement after you have reviewed the license agreement.
Installation Summary -------------------- Name Level Part Event Result ------------------------------------------------------------------------------- openssh.base.client 3.8.0.5200 USR APPLY SUCCESS openssh.base.server 3.8.0.5200 USR APPLY SUCCESS openssh.base.client 3.8.0.5200 ROOT APPLY SUCCESS openssh.base.server 3.8.0.5200 ROOT APPLY SUCCESS
You can also use the SMIT install_software fast path to install OpenSSL and OpenSSH.
The following OpenSSH binary files are installed as a result of the preceding procedure:
startsrc -s sshd OR startsrc -g ssh (group) stopsrc -s sshd OR stopsrc -g ssh lssrc -s sshd OR lssrc -s ssh
/etc/rc.d/rc2.d/Ksshd startOR
/etc/rc.d/rc2.d/Ssshd start
/etc/rc.d/rc2.d/Ksshd stopOR
/etc/rc.d/rc2.d/Ssshd stop
http://www.redbooks.ibm.com
Here are the steps involved for configuring OpenSSH for AIX.
After installation, start the sshd daemon by running:
# startsrc -s sshd
Verify that sshd is active by running this command:
# lssrc -s sshd
Once sshd is active, test it by attempting to connect to it using an OpenSSH client. If you installed the OpenSSH client package, issue the ssh client command:
# ssh localhost
You should receive this message: "The authenticity of host localhost (127.0.0.1) can't be established. RSA key fingerprint is 1c:bc:d4:a0:87:f8:0e:25:61:27:75:18:99:a2:5a:7d. Are you certain you want to continue connecting (yes/no)? (Warning: Permanently added localhost(RSA) to the list of known hosts. root@localhosts password:)."
This message indicates that this is the first time you've connected to this server. Respond with yes. This adds the server's host key to your client's known_hosts file. (Note: You won't receive this question on future connections to the same server.)
If you're connecting from a Windows* client, several SSH clients can be downloaded. One of the more popular is PuTTY, a free Win32 Telnet/SSH client.
Once you verify OpenSSH is working, you may further safeguard your SSH connection by implementing symmetric RSA or DSA authentication keys. Authentication keys allow users to specify a passphrase for their SSH connection and prevent someone else from spoofing username@hostname.
It also gives users the capability to connect to their OpenSSH server without being prompted for a password, either by using an empty passphrase (at the time of key generation) or with the assistance of an SSH agent.
For details on OpenSSH, read the Redbook, "Managing AIX Server Farms." Chapter 4 focuses on secure network connections on AIX and is almost entirely devoted to OpenSSH.
For details on OpenSSH for AIX, contact the IBM Support Center at 1-800-237-5511, Option 3.
System Administration Toolkit Set up remote access in UNIX through OpenSSH
|
OpenSSH is now bundled with AIX
IBM Wikis - AIX 5L Wiki - How to setup SSH in AIX to communicate with HMC
|
YouTube - passwordless ssh trust
|
Copyright © 1996-2008 by Dr. Nikolai Bezroukov. www.softpanorama.org was created as a service to the UN Sustainable Development Networking Programme (SDNP) in the author free time. Submit comments This document is an industrial compilation designed and created exclusively for educational use and is placed under the copyright of the Open Content License(OPL). Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.
Standard disclaimer: The statements, views and opinions presented on this web page are those of the author and are not endorsed by, nor do they necessarily reflect, the opinions of the author present and former employers, SDNP or any other organization the author may be associated with. We do not warrant the correctness of the information provided or its fitness for any purpose.
Last modified: June 05, 2008