projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f1baa51
)
Remove exploratory code for now
author
Tollef Fog Heen
<tfheen@err.no>
Sat, 13 Apr 2019 20:17:01 +0000
(22:17 +0200)
committer
Tollef Fog Heen
<tfheen@err.no>
Sat, 13 Apr 2019 20:17:01 +0000
(22:17 +0200)
modules/ssh/templates/sshd_config.erb
patch
|
blob
|
history
diff --git
a/modules/ssh/templates/sshd_config.erb
b/modules/ssh/templates/sshd_config.erb
index
ea08324
..
e96591d
100644
(file)
--- a/
modules/ssh/templates/sshd_config.erb
+++ b/
modules/ssh/templates/sshd_config.erb
@@
-49,23
+49,6
@@
AuthorizedKeysFile /etc/ssh/userkeys/%u /var/lib/misc/userkeys/%u /etc/ssh/userk
PasswordAuthentication no
PasswordAuthentication no
-# Match Address <%=
- allnodeinfo = scope.lookupvar('site::allnodeinfo')
- dbs = []
- allnodeinfo.keys.sort.each do |node|
- next unless allnodeinfo[node].has_key?('ipHostNumber')
- allnodeinfo[node]['ipHostNumber'].each do |ipnum|
- if ipnum =~ /:/
- dbs << "#{ipnum}/128"
- else
- dbs << "#{ipnum}/32"
- end
- end
- end
- dbs.flatten.join(',')
-%>
-# Banner "You're coming from a debian.org host."
-
Match Group sftponly
AllowStreamLocalForwarding no
AllowTCPForwarding no
Match Group sftponly
AllowStreamLocalForwarding no
AllowTCPForwarding no