source: package_branches/invirt-console/hvirt/debian/transform_sshd_config.invirt @ 2775

Last change on this file since 2775 was 2775, checked in by gdb, 15 years ago

Removed debathena dependencies from invirt-console

  • Property svn:executable set to *
File size: 730 bytes
Line 
1#!/usr/bin/perl -0p
2# Debathena rules (from debathena-ssh-server-config)
3s/^#?GSSAPIAuthentication .*$/GSSAPIAuthentication yes\nGSSAPIKeyExchange yes\nGSSAPIStrictAcceptorCheck no/m or die;
4s/^#?GSSAPICleanupCredentials .*$/GSSAPICleanupCredentials yes/m or die;
5s/^#?ChallengeResponseAuthentication .*$/ChallengeResponseAuthentication yes/m or die;
6## In Debathena, privilege separation is configurable.
7s/^#?UsePrivilegeSeparation .*$/UsePrivilegeSeparation yes/m or die;
8s/^#?PasswordAuthentication .*$/PasswordAuthentication no/m or die;
9
10# Invirt rules
11s/^#?PrintLastLog .*$/PrintLastLog no/m or die;
12s/$/\nAllowTcpForwarding no/ or die;
13s/^#?X11Forwarding .*$/X11Forwarding no/m or die;
14s/^#?Subsystem sftp.*$//m or die;
15
16
Note: See TracBrowser for help on using the repository browser.