1.yum install -y zlib zlib-devel openssl openssl-devel
2.tar -zxvf openssh -C /usr/local/src
3.cd /usr/local/src/openssh
4../configure --prefix=/usr --sysconfdir=/etc/ssh
5.make
6.cp /etc/init.d/sshd /etc/init.d/sshd.old
7.tar -cvf ssh.bak.tar /etc/ssh
8.rpm -qa|grep ssh
9.rpm -e openssh
10.make install
11.mv /etc/init.d/sshd.old /etc/init.d/sshd
12.mkdir /var/empty/sshd/etc
13./etc/init.d/sshd restart
14.chkconfig --add sshd
15.chkconfig sshd on
16.ssh -V
注释: 补丁包 6.6版本
阅读(5650) | 评论(0) | 转发(0) |