All of the instructions below assume that you have root access, and will work as the root user (either directly or using sudo).
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!)
Following the instructions on this page will give you a Moonshot-enabled OpenSSH Server only.
1. System Preparation
1.1. Add the Moonshot libraries.
If you have not already done so, you first need to follow the instructions on how to install the Moonshot Libraries on Debian 9.
1.2. Prepare the building environment
Install the required packages.
2. Building instructions
3. Installation Instructions
The new packages can be installed with dpkg.
4. Configuration Instructions
4.1. Configure APT
Debian 9 currently ships with OpenSSH 7.4p1 as well. So that you can install our OpenSSH, and not have it reverted back to the non-Moonshot-enabled system-provided OpenSSH next time you do an
apt-get upgrade, we must tell
apt that the manually-installed version has precedence over the official Debian repositories.
Create a file called
/etc/apt/preferences.d/moonshot, with the following content:
4.2. Configure OpenSSH
Once installed, the Moonshot-enabled OpenSSH server will still need a few quick tweaks in order to turn on the Moonshot support.
Follow the configuration instructions on the OpenSSH Server page to configure the server.