From 585932c74cbc9e26b8d35ed1b68af0583c951106 Mon Sep 17 00:00:00 2001 From: Slawomir Chodnicki Date: Sat, 15 Mar 2014 18:08:28 +0100 Subject: [PATCH] properly specify location of sftp-server binary Currently there is a symlink at /usr/lib/sftp-server to /usr/lib/openssh/sftp-server in the image. That seems to give trouble with packages like the rssh restricted shell, which will not follow a symlink to the sftp server binary for security reasons. So currently it is not possible to use this image as a basis for scp/sftp only access over ssh. --- image/config/sshd_config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image/config/sshd_config b/image/config/sshd_config index f494fa8..eab2615 100644 --- a/image/config/sshd_config +++ b/image/config/sshd_config @@ -123,7 +123,7 @@ ChallengeResponseAuthentication no #Banner none # override default of no subsystems -Subsystem sftp /usr/lib/sftp-server +Subsystem sftp /usr/lib/openssh/sftp-server # Example of overriding settings on a per-user basis #Match User anoncvs