ssh 鏈接的時候 Host key verification failed. ssh
ssh 鏈接的時候 Host key verification failed. 服務器
修改./ssh/know_hosts文件。因爲和以前保存的ssh的公鑰不一致引發的,只要將對應的服務器的ip和公鑰刪除便可ssh
➜ ~ cd ~/.ssh ➜ .ssh ls known_hosts ➜ .ssh cat known_hosts 123.56.194.238 ssh-rsa AAAAAAAAAAB3NzaC1yc2EAAAABIwAAAQEA/YwqEBAyPveugGHN0yw9CPu/bPVpGOf1oM7byqmj1VG0TCoY6MyaHxZA8PteYBJadqSzsurgvE4aXSaaassasuMlMUNq+Jf9Xx