Index: package_branches/invirt-base/hvirt/debian/rules
===================================================================
--- package_branches/invirt-base/hvirt/debian/rules	(revision 2840)
+++ package_branches/invirt-base/hvirt/debian/rules	(revision 2865)
@@ -7,5 +7,4 @@
         /usr/share/kerberos-configs/krb5.conf.template
 DEB_DIVERT_FILES_invirt-base += \
-        /etc/ssh/sshd_config.invirt \
         /etc/krb5.conf.invirt
 
@@ -20,19 +19,5 @@
 	mv $(DEB_DESTDIR)usr/bin/invirt-reload $(DEB_DESTDIR)usr/sbin/invirt-reload
 
-common-build-indep:: debian/sshd_config.invirt debian/krb5.conf.invirt.mako
-
-# Stolen from Debathena
-debian/sshd_config.invirt-orig: /var/lib/dpkg/info/openssh-server.postinst
-	perl -0pe 's/^.*<<EOF[^\n]*\n(.*\n)EOF\n.*$$/$$1/s or die;' $< > $@
-
-# Stolen from Debathena
-debian/sshd_config.invirt: debian/sshd_config.invirt-orig
-	perl -0pe '# Debathena rules (from debathena-ssh-server-config) \
-s/^#?GSSAPIAuthentication .*$$/GSSAPIAuthentication yes\nGSSAPIKeyExchange yes\nGSSAPIStrictAcceptorCheck no/m and \
-s/^#?GSSAPICleanupCredentials .*$$/GSSAPICleanupCredentials yes/m and \
-s/^#?ChallengeResponseAuthentication .*$$/ChallengeResponseAuthentication yes/m and \
-## In Debathena, privilege separation is configurable. \
-s/^#?UsePrivilegeSeparation .*$$/UsePrivilegeSeparation yes/m and \
-s/^#?PasswordAuthentication .*$$/PasswordAuthentication no/m or die;' $< > $@
+common-build-indep:: debian/krb5.conf.invirt.mako
 
 debian/krb5.conf.invirt.mako: $(call debian_check_files,/etc/krb5.conf)
