AIX上安装OpenSSH
来源:互联网 发布:ubuntu core 是什么 编辑:程序博客网 时间:2024/05/16 15:53
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
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/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
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
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
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
- AIX上安装OpenSSH
- AIX上安装OpenSSH
- aix上安装openssh
- AIX 成功安装openssh
- Solaris8上安装openssh
- arm上安装openssh
- 在Ubuntu上安装openssh
- AIX上安装GCC
- AIX上安装vim
- AIX上安装gcc
- aix上安装软件包
- AIX上安装 gcc
- AIX上安装JDK
- AIX上安装bash
- OpenSSH 与 AIX chroot
- AIX升级openssh步骤
- 升级openssh【aix平台】
- IBM AIX6.1上安装OpenSSH手记
- 或曰二之三省吾身
- Java文件操作大全
- Android, 真的有那么美好么?
- 用C++实现跨平台游戏开发之Irrlicht引擎
- arm9处理器的cache和write buffer
- AIX上安装OpenSSH
- 反调试技巧总结-原理和实现
- 秋天的杂感
- 中国银行网上银行新增B2B电子商务功能
- java异常
- SQL知识整理
- 生活、商人、人性
- 本博客找友情銜接
- 《大秦帝国》之我见