STEP BY STEP INSTALL SSH ON AIX5.3(6.1)
安裝 OpenSSH 需要安裝兩個軟體包:1. openssl,2. openssh。
安裝步驟如下:
1. 下載 openssl 和 openssh:
openssl:
(1) 開啟 ,並且使用 IBM ID 登入。
注:此網頁需要有一個 IBM ID,如果您之前沒有 IBM ID,請先註冊一個。
(2) 選擇 OpenSSL,按 Continue 繼續到下載頁面。
(3) 下載 openssl-fips.12.9.8.1101.tar.Z。
openssh:
開啟 ,然後點選 Files -> openssh-aix53 -> openssh_5.2p1_53.tar.Z;或者直接從下載 5.2p1 版本。
[@more@]2. 安裝步驟
(1) 把安裝包 ftp 到目標主機
AIX53:/tmp/openssl#ls -l
total 13064
-rw-r----- 1 root system 6684195 Aug 12 16:52 openssl-fips.12.9.8.1101.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_5.2p1_53.tar.Z
(2) 解壓
AIX53:/tmp/openssl#uncompress openssl-fips.12.9.8.1101.tar.Z
AIX53:/tmp/openssl#tar xvf openssl-fips.12.9.8.1101.tar
AIX53:/tmp/openssh#gunzip openssh_5.2p1_53.tar.Z
AIX53:/tmp/openssh#tar xvf openssh_5.2p1_53.tar.Z
(3) 安裝
必須先安裝openssl,然後再安裝openssh。
安裝openssl:
進入 openssl 所在目錄,然後 smitty installp 來安裝。注意 ACCEPT new license agreements? 選 Y,其它預設。
安裝openssh:
進入 openssh 所在目錄,然後 smitty installp 來安裝。注意 ACCEPT new license agreements? 選 Y,其它預設。
3. 執行ssh服務
檢視openssh是否正在執行:
AIX53:/#lssrc -a | grep ssh
sshd ssh 979088 active
如果是inactive,可透過以下命令啟動ssh服務:
AIX53:/#startsrc -s sshd
停止ssh服務:
AIX53:/#stopsrc -s sshd
4. 配置開機自動啟動 openssh
(1) 編輯一指令碼
# vi /etc/rc.local
新增如下行:
#!/bin/sh
startsrc -g ssh
(2) 編輯/etc/inittab
# vi /etc/inittab
新增如下行:
rc.local:2:wait:/etc/rc.local > /dev/console 2>&1即可。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/32980/viewspace-1037411/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- React Step by StepReact
- Command 模式 Step by Step模式
- Promise的實現(step by step)Promise
- Shell Step by Step (4) —— Cron & Echo
- Step by Step 安裝 BizTalk Server 2009Server
- Step by Step Data Replication Using Oracle GoldenGateOracleGo
- TIDB DM資料同步step by stepTiDB
- 單步除錯 step into/step out/step over 區別詳解除錯
- 實時 Linux 抖動分析 Step by stepLinux
- ABP應用開發(Step by Step)-下篇
- ABP應用開發(Step by Step)-上篇
- Linkerd 2.10(Step by Step)—多叢集通訊
- Sql Server Linux(Redhat) Distributed Availability Group Setup — step by stepSQLServerLinuxRedhatAI
- 10GR2下建立物理standby STEP BY STEP
- Step-by-step,打造屬於自己的vue ssrVue
- Adaboost Algorithm StepGo
- Linkerd 2.10(Step by Step)—使用 Kustomize 自定義 Linkerd 的配置
- 深度學習之step by step搭建神經網路深度學習神經網路
- Linkerd 2.10(Step by Step)—設定服務配置檔案
- 使用Eclipse 安裝 構建Maven專案 (step-by-step)EclipseMaven
- Linkerd 2.10(Step by Step)—4. 如何配置外部 Prometheus 例項Prometheus
- HTML step 屬性HTML
- 【Step-By-Step】高頻面試題深入解析 / 週刊06面試題
- 【Step-By-Step】高頻面試題深入解析 / 週刊07面試題
- 【Step-By-Step】高頻面試題深入解析 / 週刊04面試題
- 【Step-By-Step】高頻面試題深入解析 / 週刊05面試題
- 【Step-By-Step】高頻面試題深入解析 / 週刊03面試題
- 【Step-By-Step】高頻面試題深入解析 / 週刊01面試題
- 【Step-By-Step】高頻面試題深入解析 / 週刊02面試題
- 阿里雲數倉Dataworks資料匯出到檔案step by step阿里
- Linkerd 2.10(Step by Step)—1. 將您的服務新增到 Linkerd
- Linkerd 2.10(Step by Step)—將 GitOps 與 Linkerd 和 Argo CD 結合使用GitGo
- 2.4.8 Step 7: 建立spfile
- step1 補充
- Vue.js SSR Step by Step (2) – 一個簡單的同構DEMOVue.js
- [完結] Learn Vue 2: Step By Step [Laracasts 免費視訊中文語音]VueAST
- [完結] Learn Vue 2: Step By Step [Laracasts 免費影片中文語音]VueAST
- Linkerd 2.10(Step by Step)—2. 自動化的金絲雀釋出
- 機器學習之step by step實戰及知識積累筆記機器學習筆記