summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog2
-rw-r--r--debian/openssh-server.postinst3
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index aafb4e26f..03c69975f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,8 @@ openssh (1:4.1p1-1) UNRELEASED; urgency=low
14 * openssh-server Suggests: rssh (closes: #233012). 14 * openssh-server Suggests: rssh (closes: #233012).
15 * Change libexecdir to /usr/lib/openssh, and fix up various alternatives 15 * Change libexecdir to /usr/lib/openssh, and fix up various alternatives
16 and configuration files to match (closes: #87900, #151321). 16 and configuration files to match (closes: #87900, #151321).
17 * Fix up very old sshd_config files that refer to /usr/libexec/sftp-server
18 (closes: #141979).
17 19
18 -- Colin Watson <cjwatson@debian.org> Thu, 26 May 2005 13:51:50 +0100 20 -- Colin Watson <cjwatson@debian.org> Thu, 26 May 2005 13:51:50 +0100
19 21
diff --git a/debian/openssh-server.postinst b/debian/openssh-server.postinst
index fe6f50775..fa8ce6bdc 100644
--- a/debian/openssh-server.postinst
+++ b/debian/openssh-server.postinst
@@ -126,7 +126,8 @@ check_password_auth() {
126 126
127move_subsystem_sftp() { 127move_subsystem_sftp() {
128 subsystem_sftp="$(get_config_option 'Subsystem sftp')" 128 subsystem_sftp="$(get_config_option 'Subsystem sftp')"
129 if [ "$subsystem_sftp" = /usr/lib/sftp-server ]; then 129 if [ "$subsystem_sftp" = /usr/lib/sftp-server ] || \
130 [ "$subsystem_sftp" = /usr/libexec/sftp-server ]; then
130 set_config_option 'Subsystem sftp' /usr/lib/openssh/sftp-server 131 set_config_option 'Subsystem sftp' /usr/lib/openssh/sftp-server
131 fi 132 fi
132} 133}