ssh 连接的时候 Host key verification failed. ssh
ssh 连接的时候 Host key verification failed.
修改./ssh/know_hosts文件。由于和之前保存的ssh的公钥不一致引起的,只要将对应的服务器的ip和公钥删除即可
➜ ~ cd ~/.ssh
➜ .ssh ls
known_hosts
➜ .ssh cat known_hosts
123.56.194.238 ssh-rsa AAAAAAAAAAB3NzaC1yc2EAAAABIwAAAQEA/YwqEBAyPveugGHN0yw9CPu/bPVpGOf1oM7byqmj1VG0TCoY6MyaHxZA8PteYBJadqSzsurgvE4aXSaaassasuMlMUNq+Jf9Xx