当前位置:网站首页>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 .
边栏推荐
- Explain AHP in human language (very detailed principle + simple tool implementation)
- K8s, docker compose install MySQL 8.0.18
- 20、wpf之MVVM命令绑定
- Full nanny tutorial of Market Research Competition (experience sharing)
- SDN system method | 9 Access network
- Effective reading of literature
- 图片打标签之获取图片在ImageView中的坐标
- 2022 Baidu collection batch automatic push assistant
- The source code of the hottest online disk money making system in 2022 imitates Lanzou online disk / Chengtong online disk / sharing money making cloud disk system / online disk VIP Download System
- 刷入Magisk通用方法
猜你喜欢
What is Flink? What can Flink do?
Linear regression of common mathematical modeling models for College Students
A commonly used statistical modeling method -- difference analysis
揭秘GaussDB(for Redis):全面對比Codis
Flutter common commands and problems
什么是Flink?Flink能用来做什么?
Why do we do autocorrelation analysis? Explain application scenarios and specific operations
[oceanbase] Introduction to oceanbase and its comparison with MySQL
plt. GCA () picture frame and label
Explain AHP in human language (very detailed principle + simple tool implementation)
随机推荐
ECSHOP quickly purchases goods, simplifies the shopping process, and improves the user experience through one-step shopping
Zhengzheng e-commerce source code -- Zhengzheng advertising e-commerce system development source code sharing
Is it safe to open an account and buy stocks on the Internet?
【OceanBase】OceanBase简介及其与MySQL的比较
PD1.4转HDMI2.0转接线拆解。
thinkphp3.2.5 GIF. class. php for php7.4
[data midrange] what is the oneid of the data midrange? Isn't the master data fragrant?
JS to realize the calculation of discrete aggregation points
SDN系统方法 | 9. 接入网
sudo: ulimit: command not found
An article clearly explains MySQL's clustering / Federation / coverage index, back to table, and index push down
An example of using dynamic datalist
Effective reading of literature
Dark horse shopping mall ---3 Commodity management
Today, I will explain to you what is DFI and its development prospects
Architects reveal the difference between working in Alibaba, Tencent and meituan
JS monitors the width and height changes of div
The R language cartools package divides data, the scale function scales data, and the NaiveBayes function of e1071 package constructs a naive Bayesian model
Introduction to jiuhongtianxia system development function -- jiuhongtianxia app development source code sharing
Huikan source code -- Huikan app system secondary development source code sharing