emanlee

命令: 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

分类:

技术点:

相关文章:

  • 2021-09-20
  • 2021-04-13
  • 2021-09-10
  • 2021-12-03
  • 2021-09-10
  • 2021-07-31
  • 2022-01-01
  • 2019-01-22
猜你喜欢
  • 2021-09-10
  • 2022-01-20
  • 2021-05-30
  • 2021-09-10
  • 2021-12-31
  • 2021-06-30
  • 2022-01-05
相关资源
相似解决方案