puttdy连接服务器报错No supported authentication methods available (server sent:publickey,gassapi-keyex,gassapi-with-mic)

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

原文地址:https://www.cnblogs.com/xinyixuan/p/11322078.html