AIX5.3如何安装openssh

环境:
OS:AIX 5.3.10
-------------------------------------安装openssl----------------------------------
1.下载openssl
https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=aixbp&S_PKG=openssl&lang=en_US #
选择OpenSSL Install images v0.9.8.1802 ( OpenSSL 0.9.8r ) for AIX 5.3 , AIX 6.1 & 7.0
 
2.解压缩安装包
[hxl/root]#ls -1 openssl-0.9.8.1802.tar.Z
openssl-0.9.8.1802.tar.Z
[hxl/root]#uncompress openssl-0.9.8.1802.tar.Z
 
3.查看tar的内容
[hxl/root]#tar -vtf openssl-0.9.8.1802.tar
drwxr-xr-x   0 0        0 Jun 08 03:33:11 2012 openssl-0.9.8.1802/
-rw-r-----   0 0  6316032 Jun 08 03:32:42 2012 openssl-0.9.8.1802/openssl.base
-rw-r-----   0 0     3072 Jun 08 03:32:52 2012 openssl-0.9.8.1802/openssl.license
-rw-r-----   0 0  2350080 Jun 08 03:33:41 2012 openssl-0.9.8.1802/openssl.man.en_US
[hxl/root]#mkdir opensshl
[hxl/root]#mv openssl-0.9.8.1802.tar ./openssh1
[hxl/root]#tar -xvf openssl-0.9.8.1802.tar
 
4.安装
smitty install指定软件的目录,选择安装:openssl.base
ACCEPT new license agreements? 选择YES

---------------------------安装openssh-----------------------------------
1.下载openssh,下载地址:http://sourceforge.net/projects/openssh-aix/files/
[hxl/root]#ls -1 openssh_5.2p1_aix53.tar.z
openssh_5.2p1_aix53.tar.z
 
2.修改文件名,将后缀小写的z改为大写,然后解压缩
[hxl/root]#mv openssh_5.2p1_aix53.tar.z openssh_5.2p1_aix53.tar.Z
[hxl/root]#uncompress openssh_5.2p1_aix53.tar.Z
 
3.查看tar文件内容
[hxl/root]#tar -vtf openssh_5.2p1_aix53.tar
-rw-r--r--   0 0      147 Dec 03 09:28:44 2009 README.txt
-rw-r-----   0 0  5269504 Dec 03 08:59:15 2009 openssh.base
-rw-r-----   0 0   283648 Dec 03 08:59:20 2009 openssh.license
-rw-r-----   0 0   133120 Dec 03 08:59:23 2009 openssh.man.en_US
-rw-r-----   0 0    22528 Dec 03 08:59:25 2009 openssh.msg.CA_ES
-rw-r-----   0 0    22528 Dec 03 08:59:27 2009 openssh.msg.CS_CZ
-rw-r-----   0 0    23552 Dec 03 08:59:29 2009 openssh.msg.DE_DE
-rw-r-----   0 0    14336 Dec 03 08:59:31 2009 openssh.msg.EN_US
-rw-r-----   0 0    23552 Dec 03 08:59:33 2009 openssh.msg.ES_ES
-rw-r-----   0 0    17408 Dec 03 08:59:35 2009 openssh.msg.FR_FR
-rw-r-----   0 0    23552 Dec 03 08:59:37 2009 openssh.msg.HU_HU
-rw-r-----   0 0    22528 Dec 03 08:59:39 2009 openssh.msg.IT_IT
-rw-r-----   0 0    26624 Dec 03 08:59:41 2009 openssh.msg.JA_JP
-rw-r-----   0 0    21504 Dec 03 08:59:43 2009 openssh.msg.Ja_JP
-rw-r-----   0 0    22528 Dec 03 08:59:45 2009 openssh.msg.KO_KR
-rw-r-----   0 0    22528 Dec 03 08:59:47 2009 openssh.msg.PL_PL
-rw-r-----   0 0    21504 Dec 03 08:59:49 2009 openssh.msg.PT_BR
-rw-r-----   0 0    20480 Dec 03 08:59:51 2009 openssh.msg.RU_RU
-rw-r-----   0 0    22528 Dec 03 08:59:53 2009 openssh.msg.SK_SK
-rw-r-----   0 0    20480 Dec 03 08:59:55 2009 openssh.msg.ZH_CN
-rw-r-----   0 0    20480 Dec 03 08:59:57 2009 openssh.msg.ZH_TW
-rw-r-----   0 0    17408 Dec 03 08:59:59 2009 openssh.msg.Zh_CN
-rw-r-----   0 0    17408 Dec 03 09:00:01 2009 openssh.msg.Zh_TW
-rw-r-----   0 0    22528 Dec 03 09:00:04 2009 openssh.msg.ca_ES
-rw-r-----   0 0    21504 Dec 03 09:00:06 2009 openssh.msg.cs_CZ
-rw-r-----   0 0    23552 Dec 03 09:00:08 2009 openssh.msg.de_DE
-rw-r-----   0 0    14336 Dec 03 09:00:15 2009 openssh.msg.en_US
-rw-r-----   0 0    23552 Dec 03 09:00:17 2009 openssh.msg.es_ES
-rw-r-----   0 0    16384 Dec 03 09:00:19 2009 openssh.msg.fr_FR
-rw-r-----   0 0    21504 Dec 03 09:00:21 2009 openssh.msg.hu_HU
-rw-r-----   0 0    22528 Dec 03 09:00:23 2009 openssh.msg.it_IT
-rw-r-----   0 0    21504 Dec 03 09:00:25 2009 openssh.msg.ja_JP
-rw-r-----   0 0    19456 Dec 03 09:00:27 2009 openssh.msg.ko_KR
-rw-r-----   0 0    21504 Dec 03 09:00:29 2009 openssh.msg.pl_PL
-rw-r-----   0 0    15360 Dec 03 09:00:31 2009 openssh.msg.pt_BR
-rw-r-----   0 0    21504 Dec 03 09:00:33 2009 openssh.msg.ru_RU
-rw-r-----   0 0    21504 Dec 03 09:00:35 2009 openssh.msg.sk_SK
-rw-r-----   0 0    17408 Dec 03 09:00:37 2009 openssh.msg.zh_CN
-rw-r-----   0 0    17408 Dec 03 09:00:39 2009 openssh.msg.zh_TW
 
解压到当前目录
[hxl/root]#mv openssh_5.2p1_aix53.tar ./openssh
[hxl/root]#tar -xvf openssh_5.2p1_aix53.tar
 
4.安装
smitty install指定软件软件存放的目录,选择openssh.base
ACCEPT new license agreements? 选择YES
 
------------------------------------运行ssh服务--------------------------
5.运行ssh服务
默认安装好后系统自动启用ssh服务:
[hxl/root]#lssrc -a | grep ssh
 sshd             ssh              708860       active
 
启动sshd服务
[hxl/root]#startsrc -s sshd
 
停止sshd服务
[hxl/root]#stopsrc -s sshd
 
这样就可以通过putty或则ssh登陆了.
 
-- The End --

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值