Disconnected: No supported authentication methods available (server sent: )

远程连接工具无法连接上云服务器的解决方案

今夜重置了一下阿里云服务器,结果发现远程连接工具连不上了。 远程连接工具无法连接上云服务器的解决方案/Disconnected: No supported authentication methods available (server sent: )


找了资料,发现了问题所在。
首先,我们需要上阿里云服务器的控制器,使用其远程连接
按照这命令
cd /etc/ssh/ (进入ssh文件夹)
ls (展示该文件夹所有文件)
vi /etc/ssh/sshd_config(打开sshd_config文件)
(注意,这里我们要选的是sshd_config,,而不是ssh_config)
然后我们找到找到PasswordAuthentication no改为yes保存(vi命令,不做详细交流)

最后命令: systemctl restart sshd.service(重启服务)

远程连接工具无法连接上云服务器的解决方案/Disconnected: No supported authentication methods available (server sent: )

成功

相关文章:

  • 2021-12-06
  • 2022-12-23
  • 2022-01-05
  • 2021-08-16
  • 2021-05-04
猜你喜欢
  • 2021-09-27
  • 2021-08-19
  • 2021-05-29
  • 2022-12-23
  • 2021-10-11
  • 2022-01-14
相关资源
相似解决方案