当前位置:网站首页>Xshell's ssh server rejected the password, failed to skip publickey authentication, and did not register with the server
Xshell's ssh server rejected the password, failed to skip publickey authentication, and did not register with the server
2022-07-04 11:41:00 【Samsara】
XShell and SSH A series of questions about
- Today, I encountered a little episode while helping with the network topology , A normal server can use users and passwords Xshell Connected , But today, after entering the user name and password , Always jump out and upload publickey The interface of , Can't go around , And it often shows that the host is not registered with the server after uploading
- The preliminary judgment is server Of ssh Problems setting up the
- A big change , Include
ssh-key -t rsaWait for a lot of , Later, it was suspected that windows The key generation problem here , I used it specially Xshell The built-in generation 2048 The public key , It's no use
Solution
- Because you can't log in with a password , Just check ssh Of config file , Usually in /etc/ssh Under the sshd_config, Note that sshd_config, No ssh_config, however Set some default settings to yes Later, I found that it was still not good , Show SSH The server rejected the password , The problem is still unsolved
- For a long time , Suddenly thought of config Statement coverage , The post setting statement can override the pre setting statement , For example, it states a=1 Then it was declared on the last line a=2,a The value of will be overwritten , Sure enough, there are repeated statements in the last few lines , Finally, just change it all
Experience
Later change config Such configuration files , Don't find relevant keywords, modify them directly and then close , Suggest or use vim Of / Search for complete strings , In case someone adds a covering statement later , No matter how you change it in front of you
边栏推荐
- Climb Phoenix Mountain on December 19, 2021
- 三立期货安全么?期货开户怎么开?目前期货手续费怎么降低?
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 6
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 8
- Notes on writing test points in mind mapping
- (August 9, 2021) example exercise of air quality index calculation (I)
- Process communication and thread explanation
- CSDN documentation specification
- Shift EC20 mode and switch
- Heartbeat启动后无反应
猜你喜欢

DVC use case (VI): Data Registry
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 11](/img/6a/398d9cceecdd9d7c9c4613d8b5ca27.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 11
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 22](/img/e0/21367eeaeca10c0a2f2aab3a4fa1fb.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 22

Foreach (system.out:: println) usage

Experiment 7. IPv6

Process communication and thread explanation

OSI model notes

(August 10, 2021) web crawler learning - Chinese University ranking directed crawler
![[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 18](/img/1a/94ef8be5c06c2d1c52fc8ce7f03ea7.jpg)
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 18

2021 annual summary - it seems that I have done everything except studying hard
随机推荐
Common built-in modules
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 5
Local MySQL forget password modification method (Windows) [easy to understand]
MBG combat zero basis
Canoe: distinguish VT, VN and vteststudio from their development history
本地Mysql忘记密码的修改方法(windows)[通俗易懂]
Lvs+kept realizes four layers of load and high availability
QQ group administrators
Iptables cause heartbeat brain fissure
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 18
Workplace liquor bureau must pay attention to
Introduction to Lichuang EDA
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 15
TCP slicing and PSH understanding
VPS安装Virtualmin面板
First knowledge of spark - 7000 words +15 diagrams, and learn the basic knowledge of spark
Data transmission in the network
Solaris 10网络服务
Ternsort model integration summary
Here, the DDS tutorial you want | first experience of fastdds - source code compilation & Installation & Testing