Versions Compared


  • 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 OpenSSH Client how to install the Moonshot libraries on Ubuntu 14.04 LTS.

Prepare the building environment

  1. Install the required packages.

    Code Block
    apt-get install build-essential dpkg-dev fakeroot gnupg lintian patch patchutils strace unzip pbuilder debian-builder quilt \
     automake autoconf debhelper dh-make devscripts
    apt-get source openssh
    cd openssh-6.6p1
    apt-get build-dep openssh

Building instructions

  1. Download the gssapi-generic.patch, then build the packages.

    Code Block
     $ cd openssh-6.6p1
     $ cp /tmp/gssapi-generic.patch debian/patches
     $ echo "gssapi-generic.patch" >> debian/patches/series
     $ debuild -us -uc


Installation Instructions

  1. The new packages can be installed with dpkg.

    Code Block
    $ dpkg -i ../openssh-server_6.6p1-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
    GSSAPIAuthentication yes
    GSSAPIKeyExchange yesno
    GSSAPIStrictAcceptorCheck yes
  2. Now restart the OpenSSH server

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