TX2刷機後ssh無法登陸:
C:\Users\L129>ssh [email protected]
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:lmjQr66OuZT/eXLQItngUiJdtmPGyZpwU1yWggX+GOE.
Please contact your system administrator.
Add correct host key in C:\\Users\\L129/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in C:\\Users\\L129/.ssh/known_hosts:20
ECDSA host key for 192.168.1.23 has changed and you have requested strict checking.
Host key verification failed.
解決:
1,開啓檔案known_hosts(目錄位置:C:\Users\L129.ssh)
2,刪除ip地址對應的內容,然後儲存:
192.168.1.23 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBPJEtgf2sMyENyqvxOzVzOWKBzu2E6IhNFWf/raUd9m6e2XOXzCattRwXQk4HG3RGyZ8FdNRtIVKXfG1ed3oJOs=
3,再次驗證,成功:
C:\Users\L129>ssh [email protected]
The authenticity of host '192.168.1.23 (192.168.1.23)' can't be established.
ECDSA key fingerprint is SHA256:lmjQr66OuZT/eXLQItngUiJdtmPGyZpwU1yWggX+GOE.
Are you sure you want to continue connecting (yes/no)?