No supported authentication methods available (server sent:publickey,gassapi-keyex,gassapi-with-mic)

 如果用Putty登录linux的时候,提示no supported authentication methods available,可以

  1.更改文件/etc/ssh/sshd_config试试,作如下更改:

   PasswordAuthentication yes

  2.重启服务器

具体操作:

vi /etc/ssh/sshd_config

 

  PasswordAuthentication yes

 

重启服务器即可
---------------------
版权声明:本文为CSDN博主「雪飞静」的原创文章,遵循CC 4.0 by-sa版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/basycia/article/details/50610992

相关文章:

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