Enable sftp subsystem in cucumber sshd config
This commit is contained in:
parent
e51adbdefa
commit
c01e143c86
@ -76,6 +76,7 @@ Protocol 2
|
|||||||
HostKey #{File.expand_path @base_path}/#{KEY_PATH}
|
HostKey #{File.expand_path @base_path}/#{KEY_PATH}
|
||||||
PidFile /dev/null
|
PidFile /dev/null
|
||||||
UsePrivilegeSeparation no
|
UsePrivilegeSeparation no
|
||||||
|
Subsystem sftp /usr/lib/openssh/sftp-server
|
||||||
ForceCommand HOME=#{File.expand_path @base_path} sh -c "cd ~; $SSH_ORIGINAL_COMMAND"
|
ForceCommand HOME=#{File.expand_path @base_path} sh -c "cd ~; $SSH_ORIGINAL_COMMAND"
|
||||||
eoh
|
eoh
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user