The client has disconnected from the server.Reason:
Unable to authenticate using any of the configured authentication。
Unable to authenticate using any of the configured authentication methods. 本文地址:http://www.04007.cn/article/1131.html,未经许可,不得转载.
阿里云服务器的密码分为远程登录密码和实例密码,远程登录密码适合在浏览器上直接远程登录,实例密码即是平常使用root登录时所需使用的密码,默认服务器未开放外网直接使用实例密码来远程登录。本文地址:http://www.04007.cn/article/1131.html,未经许可,不得转载.
分配好阿里云服务器后需要先通过远程登录密码在阿里云控制台里进入服务器修改登录设置,允许PasswordAuthentication验证登录,并重启sshd然后就可以使用实例密码远程登录。解决方法:
1. 使用远程登录密码及实例密码在阿里云控制台里进入服务器
2. 修改/etc/ssh/sshd_config,将PasswordAuthentication值设置为yes
3. service sshd restart 重启ssh服务即可
本文地址:http://www.04007.cn/article/1131.html 未经许可,不得转载. 手机访问本页请扫描右下方二维码.
![]() |
![]() |
手机扫码直接打开本页面 |