aboutsummaryrefslogtreecommitdiff
path: root/templates/sshd_config
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2008-12-07 12:15:41 -0500
committerMicah Anderson <micah@riseup.net>2008-12-07 12:15:41 -0500
commit78938cde2a23ad8daa0ecb4aff7abe870233048f (patch)
tree0466f787102c76d35cffcf97135ba50d877d86d6 /templates/sshd_config
parent667d7e30df76c724d9919977360704d6a55d4c20 (diff)
downloadpuppet-sshd-78938cde2a23ad8daa0ecb4aff7abe870233048f.tar.gz
puppet-sshd-78938cde2a23ad8daa0ecb4aff7abe870233048f.tar.bz2
Fix location of default sftp-server on Debian, and uncomment the sftp
configuration line to get the sshd_config file defaults to be more like the standard shipped defaults from Debian
Diffstat (limited to 'templates/sshd_config')
-rw-r--r--templates/sshd_config/Debian_etch.erb2
-rw-r--r--templates/sshd_config/Debian_lenny.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/sshd_config/Debian_etch.erb b/templates/sshd_config/Debian_etch.erb
index f30242d..f030a62 100644
--- a/templates/sshd_config/Debian_etch.erb
+++ b/templates/sshd_config/Debian_etch.erb
@@ -131,7 +131,7 @@ KeepAlive yes
#ReverseMappingCheck yes
<%- if sshd_sftp_subsystem.to_s.empty? then %>
-#Subsystem sftp /usr/lib/sftp-server
+Subsystem sftp /usr/lib/openssh/sftp-server
<%- else %>
Subsystem sftp <%= sshd_sftp_subsystem %>
<%- end %>
diff --git a/templates/sshd_config/Debian_lenny.erb b/templates/sshd_config/Debian_lenny.erb
index 146e664..1762da3 100644
--- a/templates/sshd_config/Debian_lenny.erb
+++ b/templates/sshd_config/Debian_lenny.erb
@@ -131,7 +131,7 @@ KeepAlive yes
#ReverseMappingCheck yes
<%- if sshd_sftp_subsystem.to_s.empty? then %>
-#Subsystem sftp /usr/lib/sftp-server
+Subsystem sftp /usr/lib/openssh/sftp-server
<%- else %>
Subsystem sftp <%= sshd_sftp_subsystem %>
<%- end %>