The status quo described
In the afternoon, I found that the connection between my Xshell and the server node was inexplicably broken. After checking the system log, I found a large number of following errors:
May 15 17:58:08 yanta sshd[15213]: error:key_read: uudecode AAAAB3NzaC1yc2...........
The solution
After querying the solution on the network, it is found that the IP in error and the string in the corresponding error message can be found in the file /root/.ssh/known_hosts, and it is ok to delete it
. However, after checking the information on the server again, it is found that there is no corresponding one, and the encoded string is completely different.
After looking at /root/.ssh/authorized_keys, I find that one of the keys is consistent with the error message, so I first backup the file:
# cp authorized_keys authorized_keys.bk
After careful examination of the key, it was found that a complete key was originally divided into several parts, leading to the incomplete key when SSH login, so there was no error message after re-copying and pasting the key information on this machine.
Read More:
- In Vue, use echorts to report an error: “typeerror: cannot read property ‘init’ of undefined” error reporting reason and solution
- Host key verification failed. fatal: Could not read from remote repository.
- Use mujoco = = 0.5.7 to run the code and report error: invalid activation key
- Eclipse report error Error:opening registry key ‘Software/JavaSoft/JRE’
- NBU recovery report error socket read failed: errno = 119-System call timed out
- [wechat Payment] use OpenSSL command to generate apicclient_ key.pem Error report URL error 58
- Remote sshd prompt: server unexpectedly closed network connection
- Vue uses this. $refs. Subcomponent Ref. method to report an error: cannot read property ‘resetfields’ of undefined problem
- Solution of duplicate entry ‘value’ for key ‘field name’ in MySQL
- Lambda set to map duplicate key error solution
- Solution of connection error report in MySQL installation
- Informatica error: Invalid connection license key for CMN_1022 [database [Microsoft SQL Server] solution
- The solution of duplicate entry ‘for key’ primary ‘when inserting data in MySQL
- Disk error press any key to restart solution
- A simple method of generating secret key by GIT and configuring SSH public key
- Syntax error or access violation: 1071 specified key was too long; max key length is 767 bytes
- NPM report error: eperm: operation not permitted, unlink… Solution and clear cache_ modules
- Solution to error 1452: cannot add or update a child row: a foreign key constraint failures in MySQL
- Solution of xshell error report on 2021.05.03
- Nginx reverse proxy report 400 error solution!