WindowsのSSHよりUbuntuに接続しようとするがエラーとなる
C:\Users\user>ssh -l user 192.168.56.10 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the ECDSA key sent by the remote host is SHA256:TjwyMDByj5j03WUAhHD7sFTs7APH0zcPrYuLfNVR7dA. Please contact your system administrator. Add correct host key in C:\\Users\\user/.ssh/known_hosts to get rid of this message. Offending ECDSA key in C:\\Users\\user/.ssh/known_hosts:3 ECDSA host key for 192.168.56.10 has changed and you have requested strict checking. Host key verification failed.
→ 以前構築してた仮想マシンの情報が残っているため
接続元(Windows側)でキーを再構築する
"ssh-keygen -R 192.168.56.10"
再度SSHにて接続
→ 接続できた
学習メモ, Linux, SSH
0 件のコメント:
コメントを投稿