Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6772
  • 博文数量: 1
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 10
  • 用 户 组: 普通用户
  • 注册时间: 2011-03-03 05:46
文章分类
文章存档

2013年(1)

我的朋友

分类: 系统运维

2013-04-14 20:19:03

原文地址:AIX6.1下安装SSH服务 作者:rjyang

AIX6.1默认是没有安装SSH服务的,要使用SSH连接AIX服务器,必须手动安装OpenSSH软件。

1.在IBM官方网站下载Openssl和OPenSSH软件(可下载本文附件)。
2.将下载的软件上传至AIX系统/tmp目录下。
3.解压软件
  1. bash-3.2# uncompress openssl-fips-12.9.8.1801.tar
  2. bash-3.2# tar xvf openssl-fips-12.9.8.1801.tar 
  3. x openssl-fips-12.9.8.1801
  4. x openssl-fips-12.9.8.1801/openssl.base, 7648256 bytes, 14938 media blocks.
  5. x openssl-fips-12.9.8.1801/openssl.license, 3072 bytes, 6 media blocks.
  6. x openssl-fips-12.9.8.1801/openssl.man.en_US, 2350080 bytes, 4590 media blocks.

  7. bash-3.2# uncompress OpenSSH_5.8.0.6102.tar.Z
  8. bash-3.2# cd OpenSSH/
  9. bash-3.2# tar xvf OpenSSH_5.8.0.6102.tar 
  10. x openssh.base, 6310912 bytes, 12326 media blocks.
  11. x openssh.license, 338944 bytes, 662 media blocks.
  12. x openssh.man.en_US, 153600 bytes, 300 media blocks.
  13. x openssh.msg.CA_ES, 20480 bytes, 40 media blocks.
  14. x openssh.msg.CS_CZ, 20480 bytes, 40 media blocks.
  15. x openssh.msg.DE_DE, 20480 bytes, 40 media blocks.
  16. x openssh.msg.EN_US, 17408 bytes, 34 media blocks.
  17. x openssh.msg.ES_ES, 19456 bytes, 38 media blocks.
  18. x openssh.msg.FR_FR, 20480 bytes, 40 media blocks.
  19. x openssh.msg.HU_HU, 21504 bytes, 42 media blocks.
  20. x openssh.msg.IT_IT, 19456 bytes, 38 media blocks.
  21. x openssh.msg.JA_JP, 24576 bytes, 48 media blocks.
  22. x openssh.msg.Ja_JP, 26624 bytes, 52 media blocks.
  23. x openssh.msg.KO_KR, 21504 bytes, 42 media blocks.
  24. x openssh.msg.PL_PL, 20480 bytes, 40 media blocks.
  25. x openssh.msg.PT_BR, 19456 bytes, 38 media blocks.
  26. x openssh.msg.RU_RU, 25600 bytes, 50 media blocks.
  27. x openssh.msg.SK_SK, 20480 bytes, 40 media blocks.
  28. x openssh.msg.ZH_CN, 25600 bytes, 50 media blocks.
  29. x openssh.msg.ZH_TW, 24576 bytes, 48 media blocks.
  30. x openssh.msg.Zh_CN, 21504 bytes, 42 media blocks.
  31. x openssh.msg.Zh_TW, 21504 bytes, 42 media blocks.
  32. x openssh.msg.ca_ES, 19456 bytes, 38 media blocks.
  33. x openssh.msg.cs_CZ, 19456 bytes, 38 media blocks.
  34. x openssh.msg.de_DE, 20480 bytes, 40 media blocks.
  35. x openssh.msg.en_US, 17408 bytes, 34 media blocks.
  36. x openssh.msg.es_ES, 19456 bytes, 38 media blocks.
  37. x openssh.msg.fr_FR, 20480 bytes, 40 media blocks.
  38. x openssh.msg.hu_HU, 27648 bytes, 54 media blocks.
  39. x openssh.msg.it_IT, 19456 bytes, 38 media blocks.
  40. x openssh.msg.ja_JP, 26624 bytes, 52 media blocks.
  41. x openssh.msg.ko_KR, 19456 bytes, 38 media blocks.
  42. x openssh.msg.pl_PL, 27648 bytes, 54 media blocks.
  43. x openssh.msg.pt_BR, 18432 bytes, 36 media blocks.
  44. x openssh.msg.ru_RU, 27648 bytes, 54 media blocks.
  45. x openssh.msg.sk_SK, 19456 bytes, 38 media blocks.
  46. x openssh.msg.zh_CN, 21504 bytes, 42 media blocks.
  47. x openssh.msg.zh_TW, 21504 bytes, 42 media blocks.
4.首先安装Openssl,再安装OpenSSH,安装先后顺序不可颠倒

  1. bash-3.2# cd openssl-fips-12.9.8.1801
  2. 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服务会自动启动,确认:
  1. bash-3.2# lssrc -s sshd
  2. Subsystem Group PID Status
  3. sshd ssh 7077986 active
6.启动和停止服务:

  1. bash-3.2# stopsrc -s sshd
  2. 0513-044 The sshd Subsystem was requested to stop.
  3. bash-3.2# lssrc -s sshd
  4. Subsystem         Group            PID          Status 
  5.  sshd             ssh                           inoperative

  6. bash-3.2# startsrc -s sshd 
  7. 0513-059 The sshd Subsystem has been started. Subsystem PID is 19660822.
  8. bash-3.2# lssrc -s sshd
  9. Subsystem         Group            PID          Status 
  10.  sshd             ssh              19660822     active
阅读(1326) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:没有了

给主人留下些什么吧!~~