ssh连接sftp 报错failed to open a secure file transfer session 1、使用sshd 连接,sftp上传文件出现 failed to open a secure file transfer session错误提示 vi /etc/ssh/sshd_config shift+G跳转到文件尾 Subsystem sftp /usr/libexec/sftp-server #发现这里的路径不对 /usr/libexec/目录下没有sftp-server文件,将其修改为正确的sftp-server路径 Subsystem sftp /usr/libexec/openssh/sftp-server 2、重启sshd服务 /etc/init.d/sshd restart
《ssh连接sftp 报错failed to open a secure file transfer session》上暂无评论!