編譯安裝HPN-SSH提高SSH傳輸性能

wget http://openbsd.org.ar/pub/OpenBSD/OpenSSH/portable/openssh-5.8p1.tar.gz

wget http://www.psc.edu/networking/projects/hpn-ssh/openssh-5.8p1-hpn13v11.diff.gz

tar -zxvf openssh-5.8p1.tar.gz

cd openssh-5.8p1

zcat ../openssh-5.8p1-hpn13v11.diff.gz | patch

yum install zlib-devel openssl-devel

./configure –prefix=/usr –sysconfdir=/etc/ssh –pem && make

make install

查看ssh版本是否安装成功

[root@localhost ~]# ssh -V

OpenSSH_5.8p1-hpn13v11, OpenSSL 1.0.0d-fips 8 Feb 2011