服务器重装系统后,再次连接报错:
报错:
```powershell
Host key has changed and you have requested strict checking.
Host key verification failed.
This error typically occurs when you try to SSH into a remote host, and the host key on the remote server has changed since the last time you connected to it. You can resolve this issue by using the following command:
解决方法:
ssh-keygen -R <hostname or IP address>
This command removes the old host key associated with the remote server and allows you to establish a new connection with the updated host key. You can then SSH into the remote server as usual.