当前位置:网站首页>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 .
边栏推荐
- Recyclerview scrolls to the specified location
- 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
- R语言dist函数计算dataframe数据中两两样本之间的距离返回样本间距离矩阵,通过method参数指定距离计算的方法、例如欧几里得距离
- JS to realize the calculation of discrete aggregation points
- K8s, docker compose install MySQL 8.0.18
- 图片打标签之获取图片在ImageView中的坐标
- An easy-to-use seal design tool - (can be converted to ofd file)
- R language uses GLM function to build Poisson logarithmic linear regression model, processes three-dimensional contingency table data to build saturation model, and poisgof function of epidisplay pack
- Arm V7 LDR STR memory access
猜你喜欢

An easy-to-use seal design tool - (can be converted to ofd file)
![[on]learning dynamic and hierarchical traffic spatiotemporal features with transformer](/img/58/d68112a3d019de66150e2f5102f436.png)
[on]learning dynamic and hierarchical traffic spatiotemporal features with transformer

Uncover gaussdb (for redis): comprehensive comparison of CODIS

SDN system method | 9 Access network

一套自动化无纸办公系统(OA+审批流)源码:带数据字典

Dark horse shopping mall ---8 Microservice gateway and JWT token

ECSHOP commodity wholesale multi attribute multi specification multi inventory batch purchase ECSHOP wholesale plug-in ECSHOP multi attribute order

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

plt.gca()画框及打标签

Explain AHP in human language (very detailed principle + simple tool implementation)
随机推荐
动态代理
网络 | 衡量网络好坏的指标及测试方法
一款好用的印章设计工具 --(可转为ofd文件)
Thinkphp3 use phpword to modify the template and download it
Gradle knowledge points
Arm V7 LDR STR memory access
[论]Learning Dynamic and Hierarchical Traffic Spatiotemporal Features with Transformer
SDN系统方法 | 9. 接入网
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
R language dplyr package filter function filters the data rows in the specified list whose contents in the dataframe data are not (not equal to one of the specified vectors)
[regression analysis] understand ridge regression with case teaching
Why do we do autocorrelation analysis? Explain application scenarios and specific operations
什么是Flink?Flink能用来做什么?
学习笔记 2022 综述 | 自动图机器学习,阐述 AGML 方法、库与方向
Uncover gaussdb (for redis): comprehensive comparison of CODIS
Windows下MySQL的安装和删除
R语言dist函数计算dataframe数据中两两样本之间的距离返回样本间距离矩阵,通过method参数指定距离计算的方法、例如欧几里得距离
ECSHOP commodity wholesale multi attribute multi specification multi inventory batch purchase ECSHOP wholesale plug-in ECSHOP multi attribute order
An article clearly explains MySQL's clustering / Federation / coverage index, back to table, and index push down
Arm V7 coprocessor