A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

August 13, 2015

Installation problem with openssh-6.8 on Centos 5.11


Asking you please to help me with openssh instalation on Centos 5.1

I am trying to install openssh release openssh-6.8 on my OS.

The reason for the ssh upgrade is due to security issues.

I am using following steps during ssh installation:

1. cd /usr/src
2. wget http://mirror.team-cymru.org/pub/OpenBS ... 8p1.tar.gz
3. tar -xvzf openssh-6.8p1.tar.gz
4. yum install rpm-build gcc make wget openssl-devel krb5-devel pam-devel libX11-devel xmkmf libXt-devel
5. mkdir -p /root/rpmbuild/{SOURCES,SPECS}
6. cp ./openssh-6.8p1/contrib/redhat/openssh.spec /root/rpmbuild/SPECS/
7. cp openssh-6.8p1.tar.gz /root/rpmbuild/SOURCES/
8. cd /root/rpmbuild/SPECS
9. sed -i -e "s/%define no_gnome_askpass 0/%define no_gnome_askpass 1/g" openssh.spec
sed -i -e "s/%define no_x11_askpass 0/%define no_x11_askpass 1/g" openssh.spec
sed -i -e "s/BuildPreReq/BuildRequires/g" openssh.spec
10. rpmbuild -bb openssh.spec

I am receiving the following error :
checking whether getpgrp requires zero arguments... yes
ch0ecking OpenSSL header version... 0090802f (OpenSSL 0.9.8e-rhel5 01 Jul 2008)
checking OpenSSL library version... configure: error: OpenSSL >= 0.9.8f required (have "0090802f (OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008)")
error: Bad exit status from /var/tmp/rpm-tmp.62496 (%build)

I know that openssh-6.8 will work without any issue on Centos 6.x OS but my aplication cannot run on release 6.x OS.

Please advice,

I am realy need your help!!!

Click Here!