免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3920 | 回复: 0
打印 上一主题 下一主题

[安装配置] AIX5.3配置OpenSSH [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-08-27 13:13 |只看该作者 |倒序浏览

1、软件下载:
openssl(9.8.602):
http://www.namipan.com/d/96e7fddd00c8ead33336f20846611565c4e7d41f23fe6500
openssh(4.7_new5302):
http://www.namipan.com/d/3af216b357d0fbc71320a55e7d087d1e3fa76259efdb4e00


以上两个软件包均为installp格式,只能在5.2/5.3/6.1上安装。跟早期的aix版本(比如:4.3/5.1)的openssl为RPM格式不同。

2、安装步骤

1)把安装包ftp到目标主机
AIX53:/tmp/openssl#ls -l
total 13064
-rw-r-----   1 root     system      6684195 Aug 12 16:52 openssl.9.8.602.tar.Z
AIX53:/tmp/openssl#cd ../openssh
AIX53:/tmp/openssh#ls -l
total 10096
-rw-r-----   1 root     system      5168111 Aug 12 16:52 openssh-4.7_new5302.tar.z

2)解压
AIX53:/tmp/openssl#uncompress openssl.9.8.602.tar.Z
AIX53:/tmp/openssl#tar xvf openssl.9.8.602.tar
AIX53:/tmp/openssh#gunzip openssh-4.7_new5302.tar.z
AIX53:/tmp/openssh#tar xvf openssh-4.7_new5302.tar

3)安装
必须先安装openssl,然后再安装openssh。

安装openssl:
geninstall -I "a -cgNQqwXY -J" -Z -d /tmp/openssl -f File 2>&1

安装成功后的提示:


安装openssh:
geninstall -I "a -cgNQqwXY -J" -Z -d /tmp/openssh -f File 2>&1

安装成功后的提示:


当然,也可以使用smit install来安装。

3、运行ssh服务

默认安装好后系统自动启用ssh服务:
AIX53:/#lssrc -a | grep ssh
sshd             ssh              979088       active

如果是inactive,可通过以下命令启动ssh服务:

AIX53:/#startsrc -s sshd

停止ssh服务:
AIX53:/#stopsrc -s sshd

4、管理

sshd命令位于/usr/sbin目录

配置文件位于/etc/ssh目录:

AIX53:/#ls -l /etc/ssh
total 336
-rw-------   1 root     system       132839 Aug 12 16:33 moduli
-rw-r--r--   1 root     system         1482 Aug 12 16:33 ssh_config
-rw-------   1 root     system          668 Aug 12 16:33 ssh_host_dsa_key
-rw-r--r--   1 root     system          590 Aug 12 16:33 ssh_host_dsa_key.pub
-rw-------   1 root     system          963 Aug 12 16:33 ssh_host_key
-rw-r--r--   1 root     system          627 Aug 12 16:33 ssh_host_key.pub
-rw-------   1 root     system         1675 Aug 12 16:33 ssh_host_rsa_key
-rw-r--r--   1 root     system          382 Aug 12 16:33 ssh_host_rsa_key.pub
-rw-r--r--   1 root     system         2341 Aug 12 16:33 ssh_prng_cmds
-rw-r--r--   1 root     system         3219 Aug 12 16:33 sshd_config

不管什么时候调整了/etc/ssh/sshd.config文件,ssh都需要停掉并重新启动。

openssl IBM官方网站下载:
https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=aixbp&S_PKG=openssl&lang=en_US
#

openssh下载:
http://sourceforge.net/projects/openssh-aix


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/83758/showart_2038415.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP