Redhat remote sftp connection failed

Remote sftp connection fails after server setup ssh
quote

Connection closed by server with exitcode 126



The reason is:
"/etc/ssh/sshd_config"
The sftp referenced in the sshd configuration file does not exist.
Modify the relevant configuration in the configuration file and use internal-sftp instead
#Subsystem      sftp    /usr/local/ssh/libexec/sftp-server
 Subsystem      sftp    internal-sftp

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326993855&siteId=291194637