Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A debian package for OpenSSH 5.5p1 + lpk. OpenSSH+LPK works with Debian Squeeze, Yay!
branch: master

Merge pull request #1 from ingeniare/patch-1

Update to mention hardening-includes
latest commit 69112515d3
Randy Fay authored

This directory contains the patches necessary to build OpenSSH-LPK packages for Debian Squeeze.

You will probably also be interested in Marc Wäckerlin's maintained packages for Debian and Ubuntu which are perhaps more actively maintained. Note that I'm happy to grant maintainership to this repository to anybody actively using OpenSSH-LPK.

64-bit packages are available at

  deb squeeze main cg

The pubkey is commerceguys.public.key

  wget -O - | apt-key add -


# Install some required packages
apt-get install libssl-dev libpam0g-dev libgtk2.0-dev libedit-dev libkrb5-dev libwrap0-dev quilt libselinux1-dev libldap2-dev hardening-includes
# Configure [dquilt]( by adding to your .bashrc:
alias dquilt="quilt --quiltrc=${HOME}/.quiltrc-dpkg" 

Build instructions

apt-get source openssh
cd openssh-5.5p1
dquilt pop -a
dquilt import ../contrib-openssh-lpk-5.5p1-0.3.13.patch
dquilt push
dquilt refresh
cp ../package-versioning.patch debian/patches/
while dquilt push
  dquilt refresh
dquilt import ../lpk-makefile.patch
dquilt push

Edit debian/changelog: Add a version with a new version (which should be higher than the existing). So if the old version is 1:5.5p1-6+squeeze1, go with 1:5.5p1-6+squeeze1cg. Explain the reason for the reroll.

dpkg-buildpackage -rfakeroot -b -uc

and then deploy the packages openssh*.deb to your repository.


There is more information in the resources-old directory, including a

However, the contrib-openssh-lpk-5.5p1-0.3.13.patch was edited by single line in version.h to update the version, and this patch then applies. It originally came from the repository at

The other two patches in this directory I rolled to make things work.

Something went wrong with that request. Please try again.