Fix SFTP service is not working issue

The root cause is that sftp path in sshd_config is not right.
It should be changed from /usr/libexec/sftp-server
to  /usr/libexec/openssh/sftp-server

Verified in my deployment environment
sftp can connect to controller.

Closes-Bug: 1808054

Change-Id: Ia8d00abc1f18bc3b46faadd87f8ed153a446b7b0
Signed-off-by: zhipengl <zhipengs.liu@intel.com>
This commit is contained in:
zhipengl 2018-12-15 01:34:18 +08:00
parent d320036b0b
commit 4dd1d96edd
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE
AcceptEnv XMODIFIERS
# override default of no subsystems
Subsystem sftp /usr/libexec/sftp-server
Subsystem sftp /usr/libexec/openssh/sftp-server
# Example of overriding settings on a per-user basis
#Match User anoncvs