If you are not able to connect via SFTP to your server, please make sure the sftp-server binary is properly configured in /etc/ssh/sshd_config.
-
Find the correct path to the sftp-executable
$ find / -name sftp-server /usr/libexec/openssh/sftp-server -
Replace the sftp configuration in
/etc/ssh/sshd_config# Replace this Subsystem /usr/lib/openssh/sftp-server # With the path found at setp 1. Subsystem /usr/libexec/openssh/sftp-server -
Restart your sshd server
systemctl restart sshd