Delete the previous GitHub account information (including the deletion of the file under. SSH and the modification of user, name and user.email), reuse the new GitHub account to generate the public-private key, and then configure it into the settings of the new GitHub account. After that, an error is reported in the GIT clone project. Git error: host key verification failed
Solution:
Open git bash
Enter the following commands in sequence to solve the problem
mkdir -p ~/.ssh
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
ssh-keygen -t rsa -C "user.email"
Reference: stackoverflow
Read More:
- [Solved] SSH + GIT Operate Error: Host key verification failed
- [Solved] SecureCRT Error: Key exchange failed. No compatible key exchange method.
- [Solved] INSTALL_FAILED_DEXOPT (DEX optimization verification failed)
- postman CSRF verification failed [How to Solve]
- [Solved] svn Error: E230001: Server SSL certificate verification failed: certificate issued
- [Solved] Gitee generates public key error: Enter file in which to save the key…
- [Solved] hardhat Failed to Verificate Error: Failed to send contract verification request
- Failed to parse host mirrors.opencas.cn [How to Solve]
- E11000 duplicate key error collection: *** index: _id_ dup key
- [Solved] ERROR RocketmqCommon-Failed to obtain the host name
- Mac IDEA Connect SVN Error: E230001: Server SSL certificate verification failed: certificate issued
- SVN Error:svn: E230001: Server SSL certificate verification failed: certificate issued
- [Solved] Docker Error: Failed to connect to bus: Host is down
- [Solved] FFMPEG live encoding 2. session more error: [nvenc @ 0xa00480] OpenEncodeSessionEx failed: 0xa – invalid license key?
- [Solved] Git Run Error: Could not resolve host: github.com
- [Solved] Kubernetes Error: failed to list *core.Secret: unable to transform key
- How to Solve SSH Login Error: WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
- [Solved] github Error: ERROR: You‘re using an RSA key with SHA-1
- RabbitMQ:address (cannot connect to host/port) [How to Solve]
- [Solved] Mybatis Error: Establishing SSL connection without server‘s identity verification is not recommended.