AIX中安裝ssh服務

1、需要將OpenSSH(依賴於openssl)和openssl兩個包傳到AIX服務器上,如/soft目錄

2、解開包後進入對應的包目錄下,如openssl

3、smit install_all,出現如下:

* INPUT device / directory for software              []                      +

4、輸入.(.代表當前目錄),回車

[TOP]                                                   [Entry Fields]
* INPUT device / directory for software               .
* SOFTWARE to install                                []                      +
  PREVIEW only? (install operation will NOT occur)    no                     +
  COMMIT software updates?                            yes                    +
  SAVE replaced files?                                no                     +
  AUTOMATICALLY install requisite software?           yes                    +
  EXTEND file systems if space needed?                yes                    +
  OVERWRITE same or newer versions?                   no                     +
  VERIFY install and check file sizes?                no                     +
  DETAILED output?                                    no                     +
  Process multiple volumes?                           yes                    +
  ACCEPT new license agreements?                      no                     +
  Preview new LICENSE agreements?                     no                     +

5、在SOFTWARE to install                                []                      +這個選項時,按下F4,如果F4按的沒有反應就安Esc+4,這樣就可以看到要安裝的文件了

6、我們需要安裝openssl.base、openssl.license、openssl.man.enUS通過F7選擇,回車

7將光標移動ACCEPT new license agreements?                      no                     +這個選項

按TAB鍵,變成yes

8、回車安裝

9、OpenSSH的安裝也一樣,openssh.base、openssh.license、openssh.man.enUS

10、下面給出一些檢查命令

安裝過的文件集:lslpp -l | grep ssh
查看ssh服務:lssrc -a | grep ssh
啓動ssh服務:startsrc -s sshd
停止ssh服務:stopsrc -s sshd

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章