How to establish ssh key pair when “Host key verification failed”

后端 未结 11 1922
抹茶落季
抹茶落季 2021-01-30 10:17

I have set up ssh key pairs between my desktop and two servers, and from the servers to my desktop, but after reinstalling the OS on my desktop, I can\'t re-establish the key-pa

11条回答
  •  时光取名叫无心
    2021-01-30 10:54

    rm -f /home/user/.ssh/known_hosts
    

    or open it up and delete the entry for the offending ip/hostname

    (P.S. It tells you exactly this in the error message you posted)

提交回复
热议问题