|
ssh | Linux | 2113 次查看 |
|---|---|---|
|
||
安装zlib
./configure --prefix=/usr --shared make make check make install cd /usr/local/src
wget http://www.openssl.org/source/openssl-0.9.8.tar.gz tar xzvf openssl-0.9.8.tar.gz cd openssl-0.9.8 ./config --prefix=/usr/local/openssl-0.9.8 vi Makefile,修改mandir的内容,改为/usr/share/man make make test make install
升级OpenSSH(依照最新的OpenSSL) cd /usr/local/src wget http://gulus.usherbrooke.ca/pub/appl/ssh/OpenSSH/portable/openssh-4.1p1.tar.gz tar xzvf openssh-4.1p1.tar.gz cd openssh-4.1p1 ./configure --prefix=/usr --sysconfdir=/etc/ssh --with-pam --with-zlib --with-ssl-dir=/usr/local/openssl-0.9.8 --with-md5-passwords --mandir=/usr/share/man make make install
OK,现在ssh -V看一下版本吧 [root@platinum openssh-4.1p1]# ssh -V OpenSSH_4.1p1, OpenSSL 0.9.8 11 Apr 2005 [root@platinum openssh-4.1p1]# |
||