Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Numbered Headings

System Preparation

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 7.

Prepare the building environment

  1. Install the required packages.

    Code Block
    languagebash
    linenumberstrue
    apt-get install build-essential dpkg-dev fakeroot gnupg lintian patch patchutils strace unzip pbuilder debian-builder quilt \
     automake autoconf debhelper dh-make devscripts libgtk2.0-dev libedit-dev libselinux1-dev
    apt-get source openssh
    cd openssh-6.7p1
    apt-get build-dep openssh
    

Building instructions

  1. Download the gssapi-generic.patch and the openssh-nulluser-6.7p1.patch to your /tmp directory, then build the packages.

    Code Block
    languagebash
    linenumberstrue
     cd openssh-6.7p1
     cp /tmp/debian-gssapi-generic.patch debian/patches
     cp /tmp/openssh-nulluser-6.7p1.patch debian/patches
     echo "debian-gssapi-generic.patch" >> debian/patches/series
     echo "openssh-nulluser-6.7p1.patch" >> debian/patches/series
     debuild -us -uc

Installation Instructions

  1. The new packages can be installed with dpkg.

    Code Block
    languagebash
    $ dpkg -i ../openssh-server_6.7p1-X_<arch>.deb

Configuration Instructions

Once installed, the Moonshot-enabled OpenSSH server will still need a few quick tweaks in order to turn on the Moonshot support.

  1. Configure the OpenSSH server to use Moonshot by editing /etc/ssh/sshd_config. Check the following lines are present and uncommented:

    Code Block
    linenumberstrue
    GSSAPIAuthentication yes
    GSSAPIKeyExchange yes
    GSSAPIStrictAcceptorCheck yes
    
  2. Now restart the OpenSSH server

    Code Block
    $ systemctl restart ssh
  3. Configure the OpenSSH Client.