DebugAH

How to Solve Your Programmer Error

Skip to content
  • Home
  • Linux
  • JAVA
  • Python
  • Javasript
  • MYSQL
  • Windows
  • Error

[Solved] SSH Remote Login Error: WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

Problem description

The following error occurred while logging in to the remote machine: warning: remote host identification has changed!

Baidu found that the public key has changed after the remote host is reinstalled. When SSH links, the public key will be verified first. If the public key is wrong, an error will be reported

You can check the .SSH directory and find a know_Hosts file

Under the window is [C:\users\#user name #\.SSH]

Cd ~ /.SSH under Linux

After opening, the content is recorded as:

The public key of each remote host is recorded respectively

Solution:

1. Find the file and delete the public key of the corresponding IP

2. Clear the suggestion by SSH keygen command

ssh-keygen -R 110.42.128.29

Refer to Linux SSH Remote Login error resolution

Similar Posts:

  • [Solved] SSH connection server error: warning: remote host identification has changed!
  • How to Solve host key verification failed
  • An error is reported when starting sshd in the docker container
  • sshd Start Report Error: sshd re-exec requires execution with an absolute path
  • [Solved] Linux-SSH: WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED
  • Mac remote service repair: warning: remote host identification has changed!
  • WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! [How to Fix]
  • GitHub prompts permission denied (public key). How can I solve this problem?
  • Git fetch upstream Error: XXX Permission denied (publickey). fatal: Could not read from remote repository
  • Git Upload File Error: fatal: could not read from remote repository. [How to Solve]

This entry was posted in Linux and tagged SSH Remote Login Error, WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! on November 18, 2021 by Robins.

Post navigation

← [Solved] GitHub Error: this exceeds GitHub’s file size limit of 100 MB [Solved] Android Studio Compile Error: Process ‘command ‘ finished with non-zero exit value 1 →

Recent Posts

  • [Solved] The bean ‘sysDictService’ could not be injected because it is a JDK dynamic proxy
  • How to Use awk to Analyze Nginx Log
  • [Solved] Win-KeX/wsl2/kali Startup Error: A fatal error has occurred and VcXsrv will now exit.
  • [Solved] samtools: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file
  • k8s Error: [ERROR FileAvailable–etc-kubernetes-kubelet.conf]: /etc/kubernetes/kubelet.conf already exists
  • [Solved] NoSuchMethodError: org.springframework.boot.web.servlet.error.ErrorController.getErrorPath
  • [Solved] flink web ui Submit Task Error: Server Respoonse Message-Internal server error
  • Mysql Error: 1140 – In aggregated query without GROUP BY, expression #2 of SELECT list contains nonaggregated column ‘a.store’; this is incompatible with sql_mode=only_full_group_by
  • [Solved] Mybatis multi-table query error: Column ‘id’ in field list is ambiguous
  • [Solved] fluentd Log Error: read timeout reached

Tags

  • )
  • android
  • android studio
  • CentOS
  • centos7
  • chrome
  • DebugAH
  • django
  • docker
  • eclipse
  • git
  • github
  • go
  • hadoop
  • Hive
  • IDEA
  • ios
  • java
  • jenkins
  • Linux
  • Mac
  • maven
  • MyBatis
  • mysql
  • nginx
  • No module named XXX error
  • npm
  • Oracle
  • php
  • pip
  • pycharm
  • Python
  • Python TypeError
  • redis
  • shell
  • spring
  • springBoot
  • ssh
  • SVN
  • tensorflow
  • tomcat
  • ubuntu
  • vue
  • Windows
  • Yum
Proudly powered by WordPress