当前位置:网站首页>Disconnected: No supported authentication methods available (server sent: )
Disconnected: No supported authentication methods available (server sent: )
2022-06-25 12:28:00 【Yu Qin】
When using SSH Log in to ECS ECS (Elastic Compute Server) Linux Server time , Even if the password is entered correctly , The following error messages will also appear :
- Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
- sshd[10826]: Connection closed by 192.168.0.1.
- Disconnected:No supported authentication methods available.
But the same user , adopt Management terminal Can log in normally .
Question why
The problem is usually due to SSH Service modified PasswordAuthentication Parameters , Password authentication login disabled .
Treatment method
To solve this problem , Please check and modify the following configuration :
- adopt Management terminal Entry system .
- adopt cat Wait for instructions to see /etc/ssh/sshd_config Whether it contains configurations similar to the following :
PasswordAuthentication no # explain : This parameter is enabled by default , The default value is yes. - If you need to modify the relevant policy configuration , It is recommended to back up the files before continuing .
- Use vi Wait for the editor , Set the parameter value to yes, Or delete the whole or comment ( Add... At the beginning # Number ) Whole line configuration . such as :
# PasswordAuthentication no - Restart with the following command SSH service :
service sshd restart - Try logging in to the server again .
边栏推荐
- Dark horse shopping mall ---1 Project introduction - environment construction
- The network traceroute command is used to determine the path through which IP packets access the destination address.
- devsecops与devops的理解与建设
- RecyclerView滚动到指定位置
- R语言dplyr包summarise_at函数计算dataframe数据中多个数据列(通过向量指定)的计数个数、均值和中位数、在每个函数内部指定na.rm参数、通过list指定函数列表
- Explain AHP in human language (very detailed principle + simple tool implementation)
- R语言使用构建有序多分类逻辑回归模型、epiDisplay包的ordinal.or.display函数获取有序logistic回归模型的汇总统计信息(变量对应的优势比及其置信区间、以及假设检验的p值)
- Arm V7 LDR STR memory access
- Huile optimization system -- sharing of secondary development source code of huile optimization app system
- 实现领域驱动设计 - 使用ABP框架 - 系列文章汇总
猜你喜欢

2022年首期Techo Day腾讯技术开放日将于6月28日线上举办

2022 meisai topic C idea sharing + translation

20、wpf之MVVM命令绑定

【OceanBase】OceanBase简介及其与MySQL的比较

flutter常用命令及问题

Explain AHP in human language (very detailed principle + simple tool implementation)

什么是Flink?Flink能用来做什么?

15. Notes on the button style of WPF

ECSHOP quickly purchases goods, simplifies the shopping process, and improves the user experience through one-step shopping

20. MVVM command binding of WPF
随机推荐
The cloud native data lake has passed the evaluation and certification of the ICT Institute with its storage, computing, data management and other capabilities
R language uses the scale function to scale the input data of neural network to the minimum and maximum, scale the data to between 0 and 1, and divide the data set into training set and test set
The dist function of R language calculates the distance between two samples in dataframe data, returns the distance matrix between samples, and specifies the distance calculation method through the me
ECSHOP commodity page multi-attribute batch purchase plug-ins ECSHOP wholesale plug-ins multi-attribute order placing, multi-attribute batch purchase of commodities
Today, I will explain to you what is DFI and its development prospects
Thinkphp3 reinforcement i() function filter single quotation marks
How to open an account for trading futures Shanghai nickel products online
Learning notes 2022 overview | automatic graph machine learning, describing AGML methods, libraries and directions
SDN system method | 9 Access network
confluence7.4. X upgrade record
20. MVVM command binding of WPF
Zhengzheng e-commerce source code -- Zhengzheng advertising e-commerce system development source code sharing
Dark horse shopping mall ---3 Commodity management
An easy-to-use seal design tool - (can be converted to ofd file)
什么是Flink?Flink能用来做什么?
Architects reveal the difference between working in Alibaba, Tencent and meituan
Dark horse shopping mall ---2 Distributed file storage fastdfs
Use PHP script to view the opened extensions
Hook technology
Hook技术