命令: Pass: ************
状态: Connected to 66.77.88.99
错误: Connection closed by server with exitcode 127
错误: 无法连接到服务器
解决方法:
vi /etc/ssh/sshd_config
其中:
“Subsystem sftp /usr/libexec/sftp-server”
将其修改为正确的sftp-server路径 Subsystem
“Subsystem sftp /usr/libexec/openssh/sftp-server”
重启sshd服务
/etc/init.d/sshd restart