2 # Debathena rules (from debathena-ssh-server-config)
3 s/^#?GSSAPIAuthentication .*$/GSSAPIAuthentication yes\nGSSAPIKeyExchange yes\nGSSAPIStrictAcceptorCheck no/m or die;
4 s/^#?GSSAPICleanupCredentials .*$/GSSAPICleanupCredentials yes/m or die;
5 s/^#?ChallengeResponseAuthentication .*$/ChallengeResponseAuthentication yes/m or die;
6 ## In Debathena, privilege separation is configurable.
7 s/^#?UsePrivilegeSeparation .*$/UsePrivilegeSeparation yes/m or die;
8 s/^#?PasswordAuthentication .*$/PasswordAuthentication no/m or die;
11 s/^#?PrintLastLog .*$/PrintLastLog no/m or die;
12 s/$/\nAllowTcpForwarding no/ or die;
13 s/^#?X11Forwarding .*$/X11Forwarding no/m or die;
14 s/^#?Subsystem sftp.*$//m or die;