If you have not already done so, you first need to follow the instructions on how to .
Install prerequisites
You will need various packages installed in order to build OpenSSH from scratch. Install them via yum:
bash
Ensure that your hostname is correct
The channel bindings check requires that the hostname of your SSH server match the hostname people are SSHing to. That is, the output of the "hostname" command should match the FQDN of the server. If it doesn't, change the relevant line in /etc/sysconfig/network to make it so.
Installation Instructions
Get the sources and patches
If you do not have any rpmbuild directories already, create them now.
bash
Download the OpenSSH sources for your particular minor version of RHEL/CentOS/SL into the SOURCES directory. The sources are available at the following locations:
Navigate to the SOURCES directory and extract the source from the RPM.
bash
Download the Moonshot patches into the SOURCES directory.
bash
Navigate to the SPECS directory and download the Moonshot-enabled OpenSSH spec file for your particular version of RHEL/CentOS/SL. The sources are available at the following locations: