Subscribed unsubscribe Subscribe Subscribe

Install HPN-SSH

Abstract

Install High Performance SSH/SCP - HPN-SSH 5.9 to Cent OS 5.4 (32bit).

Procedure

Install dependencies
yum install -y patch rpm-build openssl-devel glibc-devel krb5-devel gcc pam-devel
Download and patch openssh
wget http://ftp.jaist.ac.jp/pub/OpenBSD/OpenSSH/portable/openssh-5.9p1.tar.gz
wget http://www.psc.edu/networking/projects/hpn-ssh/openssh-5.9p1-hpn13v12.diff.gz
tar zxvf openssh-5.9p1.tar.gz
cd openssh-5.9p1
zcat ../openssh-5.9p1-hpn13v12.diff.gz | patch
Configure and make package
rm -rf contrib/aix/ contrib/hpux/ contrib/suse/ contrib/caldera/  contrib/solaris/ contrib/cygwin/
#
# # no_x11_askpass 0 -> 1
# # no_gnome_askpass 0 -> 1
# # %doc CREDITS ChangeLog INSTALL LICENCE OVERVIEW README* PROTOCOL* TODO WARNING*
# # ->
# # %doc CREDITS ChangeLog INSTALL LICENCE OVERVIEW README* PROTOCOL* TODO
#
sed -i 's/no_x11_askpass 0/no_x11_askpass 1/g' contrib/redhat/openssh.spec
sed -i 's/no_gnome_askpass 0/no_gnome_askpass 1/g' contrib/redhat/openssh.spec
sed -i 's/TODO WARNING\*/TODO/g' contrib/redhat/openssh.spec
cd ..
rm -f openssh-5.9p1-hpn13v12.diff.gz openssh-5.9p1.tar.gz
tar zcvf openssh-5.9p1.tar.gz openssh-5.9p1/
rpmbuild -tb --clean openssh-5.9p1.tar.gz
Install hpn-ssh
rpm -Uvh /usr/src/redhat/RPMS/i386/openssh-5.9p1-1.i386.rpm
rpm -Uvh /usr/src/redhat/RPMS/i386/openssh-server-5.9p1-1.i386.rpm
rpm -Uvh /usr/src/redhat/RPMS/i386/openssh-clients-5.9p1-1.i386.rpm
Clean up
rm -f /usr/src/redhat/RPMS/i386/openssh-*
rm -rf openssh-5.9p1 openssh-5.9p1.tar.gz
Check
/usr/bin/ssh -V
# OpenSSH_5.9p1-hpn13v12, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
/usr/sbin/sshd -V
# OpenSSH_5.9p1-hpn13v12, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
Change sshd_config
NoneEnabled no -> NoneEnabled yes

references