From c01e143c86a7400db8976afad4818ee31672e157 Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Wed, 28 Aug 2013 09:11:47 +0000 Subject: [PATCH] Enable sftp subsystem in cucumber sshd config --- features/support/ssh.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/features/support/ssh.rb b/features/support/ssh.rb index 249510e..188cf08 100644 --- a/features/support/ssh.rb +++ b/features/support/ssh.rb @@ -76,6 +76,7 @@ Protocol 2 HostKey #{File.expand_path @base_path}/#{KEY_PATH} PidFile /dev/null UsePrivilegeSeparation no +Subsystem sftp /usr/lib/openssh/sftp-server ForceCommand HOME=#{File.expand_path @base_path} sh -c "cd ~; $SSH_ORIGINAL_COMMAND" eoh