linux主机连接sftp报错received unexpected end-of-file from SFTP server

SFTP 连接主机失败,提示信息如下:

linux主机连接sftp报错received unexpected end-of-file from SFTP server

 

 

登陆目标主机,编辑查看 /etc/ssh/sshd_config 文件,找到 Subsystem 关键字

替换为 Subsystem sftp internal-sftp

linux主机连接sftp报错received unexpected end-of-file from SFTP server

 

重启sshd服务再次连接即可。

linux主机连接sftp报错received unexpected end-of-file from SFTP server

上一篇:跟高手学习LINUX笔记-20


下一篇:Ubuntu图形界面root登录出“sorry, that didn’t work please