From 7470403158749d89ae645ff29e508ca652160b63 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Sun, 6 Sep 2015 17:04:17 +0300 Subject: [PATCH] sshd_config: add Fedora & Gentoo sftp-server thanks Conjuro and @DarthGandalf on #znc --- etc/ssh/sshd_config | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/etc/ssh/sshd_config b/etc/ssh/sshd_config index 71b0eb8f..2b6016bb 100644 --- a/etc/ssh/sshd_config +++ b/etc/ssh/sshd_config @@ -52,6 +52,16 @@ Port 22 ListenAddress 0.0.0.0 ListenAddress :: +# Uncomment one of the following depending on which OS +## Arch +#Subsystem sftp /usr/lib/ssh/sftp-server +## Debian +#Subsystem sftp /usr/lib/openssh/sftp-server +## Fedora (21) +#Subsystem sftp /usr/libexec/openssh/sftp-server +# Gentoo (/usr/lib is a symlink) +#Subsystem /usr/lib/misc/sftp-server + # VERBOSE logging, logs user's key fingerprint on login. Needed to have a # clear audit track of which key was using to log in. LogLevel VERBOSE