AIX  6.1 安裝 OPENSSH 手記

 

原由:

預設的 AIX 5.2,5.3 ,6.x 版本皆未內含 ssh 功能,但公司確實有這個需求存在,所以試著進行安裝,並確認可正常運作,其過程如下:

. openssh下載

 http://sourceforge.net/projects/openssh-aix/files/

自行選擇適當的版本

AIX 6.1

http://sourceforge.net/projects/openssh-aix/files/openssh-aix61/openssh-5.4p1/

AIX 5.3

http://sourceforge.net/projects/openssh-aix/files/openssh-aix53/openssh-5.4p1/

 

下載得到 openssh_5.4p1.tar.z 的檔案,放於/tmp

 

.安裝

$ cd /tmp ; gunzip openssh_5.4p1.tar.z

$ mkdir /tmp/ssh ; cd /tmp/ssh ; tar –xvf /tmp/openssh_5.4p1.tar

 

smitty install -> Install and Update Software -> Install Software ->

INPUT device / directory for software [/tmp/ssh] -> ACCEPT new license agreements? 改為 yes Enter 即可安裝!

 

$ lssrc -a | grep ssh ##確認安裝成功

 sshd             ssh              7995580      active

 

$ startsrc -s sshd ##開啟 sshd 的服務

$ stopsrc -s sshd  ##關閉 sshd 的服務
 
三.完工

 

 

 

arrow
arrow
    文章標籤
    aix openssh
    全站熱搜

    Jason0615 發表在 痞客邦 留言(0) 人氣()