openssh 5.8.p2 컴파일하기

  • 등록 2017.07.12 11:47:33
크게보기

yum install pam-devel -y


mkdir /root/openssh
cd /root/openssh
wget rpm.lhb.kr/ktds/openssh/openssh-5.8p2.tar.gz
tar xvfpz openssh-5.8p2.tar.gz
cd openssh-5.8p2

./configure
--prefix=/usr/local/openssh
--sysconfdir=/etc/ssh
--with-zlib=/usr/lib
--with-pam
--with-mantype=man
--with-md5-passwords


make
make install



# /etc/ini.d/sshd 수정
KEYGEN=/usr/local/openssh/bin/ssh-keygen
SSHD=/usr/local/openssh/sbin/sshd
RSA1_KEY=/etc/ssh/ssh_host_key
RSA_KEY=/etc/ssh/ssh_host_rsa_key
DSA_KEY=/etc/ssh/ssh_host_dsa_key
PID_FILE=/var/run/sshd.pid

# /etc/ssh/sshd_config 수정
노랑배 kosthb@gmail.com
Copyright @2011 mediaon Corp. All rights reserved.

사이트에 관련하여 연락은 메일로 주세요. kosthb골뱅이gmail.com Copyright 2011 mediaon. All rights reserved.