Panel | |
---|---|
RHEL 6 / CentOS 6 / Scientific Linux 6 Neither RHEL, CentOS nor Scientific Linux (RHEL/CentOS/SL 6) does not ship with a version of OpenSSH that is compatible with Moonshot (they ship with a non-Moonshot-enabled v5. 3 of OpenSSH). To get Moonshot support for it, you must install a specific Moonshot-enabled version (v5.9). We do not yet have a precompiled version available in our repositories, so you will need to re-compile it by hand. Contents
|
...
Note |
---|
The instructions on this page will replace the system provided OpenSSH packages with the Moonshot enabled ones (don't worry, standard SSH things will still work!). |
Info |
---|
We currently have patching available for RHEL/CentOS/SL 6.4 and 6.5. |
Info |
Following the instructions on this page will give you a Moonshot-enabled OpenSSH Client, as well as Server only. |
Numberedheadings |
---|
System PreparationAdd the Moonshot libraries.If you have not already done so, you first need to follow the instructions on how to Install prerequisitesYou will need various packages installed in order to build OpenSSH from scratch. Install them via yum: bashEnable the Moonshot OpenSSH RepositoryThe OpenSSH packages have their own dedicated repository, to avoid replacing system's one when not strictly required. This repository needs to be manually enabled, by editing the Ensure that your hostname is correctThe 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 Installation InstructionsGet the sources and patchesIf you do not have any rpmbuild directories already, create them now. bashDownload the OpenSSH sources for your particular minor version of RHEL/CentOS/SL into the Navigate to the Download the Moonshot patches into 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:Rename the file you downloaded to "openssh.spec", overwriting the existing copy: (For CentOS 6.5)Build OpenSSHNow we're ready to build the Moonshot-enabled version of OpenSSH. Make sure you're in the If the build was successful, in your /rpmbuild/RPMS/x86_64 directory you should find RPMs for the following:
Installing your new RPMsNow we're ready to install the new Moonshot-enabled OpenSSH packages. Remove the existing OpenSSH packagesIf you've already customised your OpenSSH server configuration, you may wish to back up that configuration now.
Remove the existing OpenSSH packages using yum. bashInstall the new OpenSSH packages
Install the new OpenSSH packages using rpm. Configuration InstructionsOnce installed, the Moonshot-enabled OpenSSH server will still need a few quick tweaks in order to turn on the Moonshot support. Configure the OpenSSH server to use Moonshot by editing Configure the OpenSSH client to use Moonshot by editing Follow the configuration instructions on the |