Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1980336
  • 博文数量: 593
  • 博客积分: 20034
  • 博客等级: 上将
  • 技术积分: 6779
  • 用 户 组: 普通用户
  • 注册时间: 2006-02-06 14:07
文章分类

全部博文(593)

文章存档

2016年(1)

2011年(101)

2010年(80)

2009年(10)

2008年(102)

2007年(16)

2006年(283)

我的朋友

分类:

2011-04-13 10:37:58

Downloading, installing, and updating OpenSSH and OpenSSL

If you are using a Virtual I/O Server version prior to 1.3, you must download and install OpenSSH and OpenSSL software before you can connect to the Virtual I/O Server using OpenSSH. You can also use this procedure to update OpenSSH and OpenSSL on the Virtual I/O Server.

OpenSSH and OpenSSL might need to be updated on your Virtual I/O Server if the Virtual I/O Server did not include the latest version of OpenSSH or OpenSSL, or if there were OpenSSH or OpenSSL updates released in between Virtual I/O Server releases. In these situations, you can update OpenSSH and OpenSSL on the Virtual I/O Server by downloading and installing OpenSSH and OpenSSL using the following procedure.

For more information about OpenSSL and OpenSSH, see the and Web sites.

Downloading the Open Source software

The OpenSSL software contains the encrypted library that is required to use the OpenSSH software. To download the software, complete the following tasks:

  1. Download the OpenSSL RPM package to your workstation or host computer.
    1. To get the RPM package, go to the Web site and click the AIX Toolbox Cryptographic Content link on the right side of the Web page.
    2. If you are registered to download the RPM packages, then sign in and accept the license agreement.
    3. If you are not registered to download the RPM packages, then complete the registration process and accept the license agreement. After registering, you are redirected to the download page.
    4. Select any version of the package for download: openssl - Secure Sockets Layer and cryptography libraries and tools and click Download Now to start the download.
  2. Download the OpenSSH software by completing the following steps:
    Note: Alternatively, you can install the software from the AIX Expansion Pack.
    1. From your workstation (or host computer), go to the Web site.
    2. Click Download OpenSSH on AIX to view the latest file releases.
    3. Select the appropriate download package and click Download.
    4. Click the openssh package (tar.Z file) to continue with the download.
  3. Create a directory on the Virtual I/O Server for the Open Source software files. For example, to create an installation directory named install_ssh, run the following command: mkdir install_ssh.
  4. Transfer the software packages to the Virtual I/O Server by running the following File Transfer Protocol (FTP) commands from the computer on which you downloaded the software packages:
    1. Run the following command to make sure that the FTP server is started on the Virtual I/O Server: startnetsvc ftp
    2. Open an FTP session to the Virtual I/O Server on your local host: ftp vios_server_hostname, where vios_server_hostname is the hostname of the Virtual I/O Server.
    3. At the FTP prompt, change to the installation directory to the directory that you created for the Open Source files: cd install_ssh, where install_ssh is the directory that contains the Open Source files.
    4. Set the transfer mode to binary: binary
    5. Turn off interactive prompting if it is on: prompt
    6. Transfer the downloaded software to the Virtual I/O Server: mput ssl_software_pkg, where ssl_software_pkg is the software that you downloaded.
    7. Close the FTP session, after transferring both software packages, by typing quit.

Install the Open Source software on the Virtual I/O Server

To install the software, complete the following steps:
  1. Run the following command from the Virtual I/O Server command line: updateios -dev install_ssh -accept -install, where install_ssh is the directory that contains the Open Source files. The installation program automatically starts the Secure Shell daemon (sshd) on the server.
  2. Begin using the ssh and scp commands; no further configuration is required.
    Restrictions:
    • The sftp command is not supported on versions of Virtual I/O Server earlier than 1.3.
    • Noninteractive shells are not supported using OpenSSH with the Virtual I/O Server versions earlier than 1.3.
阅读(523) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~