AIX6.1默认是没有安装SSH服务的,要使用SSH连接AIX服务器,必须手动安装OpenSSH软件。
1.在IBM官方网站下载Openssl和OPenSSH软件(可下载本文附件)。
2.将下载的软件上传至AIX系统/tmp目录下。
3.解压软件
- bash-3.2# uncompress openssl-fips-12.9.8.1801.tar
- bash-3.2# tar xvf openssl-fips-12.9.8.1801.tar
- x openssl-fips-12.9.8.1801
- x openssl-fips-12.9.8.1801/openssl.base, 7648256 bytes, 14938 media blocks.
- x openssl-fips-12.9.8.1801/openssl.license, 3072 bytes, 6 media blocks.
- x openssl-fips-12.9.8.1801/openssl.man.en_US, 2350080 bytes, 4590 media blocks.
- bash-3.2# uncompress OpenSSH_5.8.0.6102.tar.Z
- bash-3.2# cd OpenSSH/
- bash-3.2# tar xvf OpenSSH_5.8.0.6102.tar
- x openssh.base, 6310912 bytes, 12326 media blocks.
- x openssh.license, 338944 bytes, 662 media blocks.
- x openssh.man.en_US, 153600 bytes, 300 media blocks.
- x openssh.msg.CA_ES, 20480 bytes, 40 media blocks.
- x openssh.msg.CS_CZ, 20480 bytes, 40 media blocks.
- x openssh.msg.DE_DE, 20480 bytes, 40 media blocks.
- x openssh.msg.EN_US, 17408 bytes, 34 media blocks.
- x openssh.msg.ES_ES, 19456 bytes, 38 media blocks.
- x openssh.msg.FR_FR, 20480 bytes, 40 media blocks.
- x openssh.msg.HU_HU, 21504 bytes, 42 media blocks.
- x openssh.msg.IT_IT, 19456 bytes, 38 media blocks.
- x openssh.msg.JA_JP, 24576 bytes, 48 media blocks.
- x openssh.msg.Ja_JP, 26624 bytes, 52 media blocks.
- x openssh.msg.KO_KR, 21504 bytes, 42 media blocks.
- x openssh.msg.PL_PL, 20480 bytes, 40 media blocks.
- x openssh.msg.PT_BR, 19456 bytes, 38 media blocks.
- x openssh.msg.RU_RU, 25600 bytes, 50 media blocks.
- x openssh.msg.SK_SK, 20480 bytes, 40 media blocks.
- x openssh.msg.ZH_CN, 25600 bytes, 50 media blocks.
- x openssh.msg.ZH_TW, 24576 bytes, 48 media blocks.
- x openssh.msg.Zh_CN, 21504 bytes, 42 media blocks.
- x openssh.msg.Zh_TW, 21504 bytes, 42 media blocks.
- x openssh.msg.ca_ES, 19456 bytes, 38 media blocks.
- x openssh.msg.cs_CZ, 19456 bytes, 38 media blocks.
- x openssh.msg.de_DE, 20480 bytes, 40 media blocks.
- x openssh.msg.en_US, 17408 bytes, 34 media blocks.
- x openssh.msg.es_ES, 19456 bytes, 38 media blocks.
- x openssh.msg.fr_FR, 20480 bytes, 40 media blocks.
- x openssh.msg.hu_HU, 27648 bytes, 54 media blocks.
- x openssh.msg.it_IT, 19456 bytes, 38 media blocks.
- x openssh.msg.ja_JP, 26624 bytes, 52 media blocks.
- x openssh.msg.ko_KR, 19456 bytes, 38 media blocks.
- x openssh.msg.pl_PL, 27648 bytes, 54 media blocks.
- x openssh.msg.pt_BR, 18432 bytes, 36 media blocks.
- x openssh.msg.ru_RU, 27648 bytes, 54 media blocks.
- x openssh.msg.sk_SK, 19456 bytes, 38 media blocks.
- x openssh.msg.zh_CN, 21504 bytes, 42 media blocks.
- x openssh.msg.zh_TW, 21504 bytes, 42 media blocks.
4.首先安装Openssl,再安装OpenSSH,安装先后顺序不可颠倒
- bash-3.2# cd openssl-fips-12.9.8.1801
- bash-3.2# smitty install
顺序选择
Install and Update Software、Install Software,INPUT device / directory for software [.] 输入当前目录.
SOFTWARE to install [_all_latest] 按F4、然后ESC+7选择列出行
"ACCEPT new license agreements?" [yes]
回车,执行安装
Command:OK 表示安装完成。
OpenSSH安装方法同上。
5.安装完成后SSH服务会自动启动,确认:
- bash-3.2# lssrc -s sshd
- Subsystem Group PID Status
- sshd ssh 7077986 active
6.启动和停止服务:
- bash-3.2# stopsrc -s sshd
- 0513-044 The sshd Subsystem was requested to stop.
- bash-3.2# lssrc -s sshd
- Subsystem Group PID Status
- sshd ssh inoperative
- bash-3.2# startsrc -s sshd
- 0513-059 The sshd Subsystem has been started. Subsystem PID is 19660822.
- bash-3.2# lssrc -s sshd
- Subsystem Group PID Status
- sshd ssh 19660822 active
阅读(1326) | 评论(0) | 转发(0) |