`

Redhat远程sftp连接失败

 
阅读更多
服务器设置ssh之后,远程sftp连接失败
引用

Connection closed by server with exitcode 126



原因是:
"/etc/ssh/sshd_config"
sshd配置文件中引用的sftp不存在造成的
修改配置文件中的相关配置,改为使用internal-sftp
 #Subsystem      sftp    /usr/local/ssh/libexec/sftp-server 
 Subsystem      sftp    internal-sftp
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics