SSH 컴파일 하는 것입니다. 레드햇9 사용자들 입니다.
#OPENSSH 최신버전 설치 3.9P1
ㅁ기존 설치된 버전 확인 및 삭제
[root@ns test]# rpm -qa | grep openssh
openssh-3.5p1-6
openssh-server-3.5p1-6
openssh-clients-3.5p1-6
openssh-askpass-3.5p1-6
openssh-askpass-gnome-3.5p1-6

[root@ns test]# rpm -e --nodeps openssh-3.5p1-6
[root@ns test]# rpm -e --nodeps openssh-server-3.5p1-6
.... 위에 팩키지를 다 지운다

[root@ns openssh-3.9p1]./configure --prefix=/usr --sysconfdir=/etc/ssh --with-tcp-wrappers --with-pam --with-md5-passwords --with-ssl-dir=/usr/include/openssl
OpenSSH has been configured with the following options:
              User binaries: /usr/bin
             System binaries: /usr/sbin
          Configuration files: /etc/ssh
             Askpass program: /usr/libexec/ssh-askpass
               Manual pages: /usr/man/manX
                 PID file: /var/run
Privilege separation chroot path: /var/empty
        sshd default user PATH: /usr/bin:/bin:/usr/sbin:/sbin

[root@ns openssh-3.9p1]make
[root@ns openssh-3.9p1]make install
PAM 디렉토리 생성
[root@ns openssh-3.9p1]install -m644 contrib/redhat/sshd.pam /etc/pam.d/sshd
ㅁ데목시작
[root@ns openssh-3.9p1]O
[root@ns sbin]# /usr/sbin/sshd &
[1] 21063
실행되었다
버전 및 확인
[root@ns sbin]# ps -ef | grep sshd
root    2057   1 0 16:31 ?     00:00:00 /usr/sbin/sshd
test    2059 2057 0 16:32 ?     00:00:00 [sshd]
root   21064   1 0 16:54 ?     00:00:00 /usr/sbin/sshd
root   21070 2095 0 16:56 pts/0   00:00:00 grep sshd
연결확인
[root@ns sbin]# telnet localhost 22
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
SSH-1.99-OpenSSH_3.9p1
완료
리눅스  |  05/03/03 09:53

'LINUX(리눅스)' 카테고리의 다른 글

리눅스 한글 깨질때...[디폴트언어 변경]  (0) 2008.10.14
APM+GD+FREETYPE+ZLIB 설치  (1) 2008.10.14
아파치 버텰호스티 설정  (0) 2008.10.14
DNS 셋팅 -레드햇 9.0-  (0) 2008.10.14
삼바셋팅 -레드햇 9.0 -  (0) 2008.10.14
|

샹콤홍쓰's Blog is powered by Daum & tistory