1, install the response devel package, or to the error header file can not find.
Yum install zlib-devel openssl-devel tcp_wrappers-devel libselinux-devel
2, download the latest OpenSSL.
wget ftp://ftp5.usa.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-6.6p1.tar.gz
3. Compile and install.
./configure--with-pam--with-md5-passwords \
--with-tcp-wrappers--with-selinux--prefix=/usr \
--sysconfdir=/etc/ssh--without-zlib-version-check \
--with-ssl-dir=/usr/local/ssl
The parameters are: Start Pam, MD5 encryption, Tcpwrapper and SELinux, specify the installation directory, configuration directory, and package directory.
And then it's built. Familiar: Make && make install
Finally see if the relevant parameters are correct, the configuration is correct, reboot.
Of course, my installation all the way smoothly, the students should be the error is less bag, their own online check it