aboutsummaryrefslogtreecommitdiffstats
path: root/main/openssh/default-internal-sftp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/openssh/default-internal-sftp.patch')
-rw-r--r--main/openssh/default-internal-sftp.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/main/openssh/default-internal-sftp.patch b/main/openssh/default-internal-sftp.patch
new file mode 100644
index 00000000000..5128410a8d9
--- /dev/null
+++ b/main/openssh/default-internal-sftp.patch
@@ -0,0 +1,14 @@
+set the default sftp to internal.
+this is better than the extra one, because it requires no extra support files
+with ChrootDirectory, and it does not fork so it is faster.
+--- a/sshd_config
++++ b/sshd_config
+@@ -107,7 +107,7 @@
+ #Banner none
+
+ # override default of no subsystems
+-Subsystem sftp /usr/libexec/sftp-server
++Subsystem sftp internal-sftp
+
+ # Example of overriding settings on a per-user basis
+ #Match User anoncvs