projects
/
invirt/packages/invirt-console.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use the .. Perl operator to simplify prerms.
[invirt/packages/invirt-console.git]
/
debian
/
transform_sshd_config.invirt.invirt
1
#!/usr/bin/perl -0p
2
s/^#?PrintLastLog .*$/PrintLastLog no/m or die;
3
s/$/\nAllowTcpForwarding no/ or die;
4
s/^#?X11Forwarding .*$/X11Forwarding no/m or die;
5
s/^#?Subsystem sftp.*$//m or die;