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

后端 未结 11 1825
抹茶落季
抹茶落季 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 11:00

    Task Passwordless authentication for suer.

    Error : Host key verification failed.

    Source :10.13.1.11 Target : 10.13.1.35

    Temporary workaround :

    [user@server~]$ ssh user@10.13.1.35 The authenticity of host '10.13.1.35 (10.13.1.35)' can't be established. RSA key fingerprint is b8:ba:30:46:a9:ab:70:12:1a:f2:f1:61:69:73:0a:19. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '10.13.1.35' (RSA) to the list of known hosts.

    Try to authenticate user again...it will work.

提交回复
热议问题