AIX

원격 접속을 위한 openssh 설치

2swan 2024. 5. 22. 14:15

1. cd를 마운트

# mount -v cdrfs -o ro /dev/cd0 /mnt

 

2. 임시 디렉토리를 생성하고 파일을 복사

# mkdir /tmp/ssh_install

# cd /mnt/installp/ppc

# cp openssh* /tmp/ssh_install

 

3. 해당 디렉토리로 이동 후 openssh 설치

# cd /tmp/ssh_install

# installp -acgXYd . openssh.base openssh.license openssh.man.en_US openssh.msg.EN_US openssh.msg.ko_KR openssh.msg.KO_KR

 

4. ssh가 실행 중인지 확인

# lssrc -s sshd

# lssrc -a | grep sshd

# ps -ef | grep sshd

 

 


Chapter2

 

1. Open SSH, SSL 다운로드 경로 : https://sourceforge.net/projects/openssh-aix/

 

2. 다운로드 받은 파일을 FTP로 옮기고  tar.z 압축 풀기 

# uncompress 파일명.tar.z

 

 

 

3. tar로 풀렸으면 한 번 더 압축 해제

# tar -xvf 파일명.tar

 

 

 

4. 현재 디렉토리에 인스톨을 위한 리스트를 제작

# inutoc .

# smitty installp

 

 

 

5. 신규 설치 하려면 Install Soft ware 선택

    기존것을 Update 하고자 하면 Update Installed Software to latest Level (Update All) 선택

 

 

 

6. 현재 설치파일이 있는 디렉토리에 있으면 아니라면 해당 경로 입력

 

 

 

7. ACCEPT new license agreements? 'yes'로 변경

 

 

 

8. yes

 

 

 

9. 설치 완료 후 확인

# lslpp -l | grep ssh or ssl