修改/etc/ssh/sshd_config文件中的Subsystem参数为 Subsystem sftp internal-sftp 保存退出 systemctl restart sshd.service 关闭连接窗口再打开 恢复正常