Last login: Sun Aug 21 14:45:44 on ttys000
FlorentinodeiMac:~ florentino$ ssh -t root@192.168.31.48
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@? ? 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:Wi5PqOrKfGFg0y7Q1svoOtjq4EX/pflROpGZg09EzYc.
Please contact your system administrator.
Add correct host key in /Users/florentino/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/florentino/.ssh/known_hosts:2
ECDSA host key for 192.168.31.48 has changed and you have requested strict checking.
Host key verification failed.
FlorentinodeiMac:~ florentino$ defaults write com.apple.finder AppleShowAllFiles -bool true
FlorentinodeiMac:~ florentino$ ssh -t root@192.168.31.48
The authenticity of host '192.168.31.48 (192.168.31.48)' can't be established.
ECDSA key fingerprint is SHA256:Wi5PqOrKfGFg0y7Q1svoOtjq4EX/pflROpGZg09EzYc.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yes
Warning: Permanently added '192.168.31.48' (ECDSA) to the list of known hosts.
root@192.168.31.48's password:
Last login: Sun Aug 21 16:53:03 2016 from 192.168.31.249
具體情況是挖垛,之前家里的二奶開發(fā)機(jī)裝的是ubuntu 16.04爽蝴,已經(jīng)使用終端連接過,系統(tǒng)存有指紋備份昧辽,發(fā)現(xiàn)不一樣了,不允許連接登颓,解決辦法是搅荞。
右鍵Finder,前往文件夾框咙,/Users/你的用戶名
打開終端咕痛,輸入 defaults write com.apple.finder AppleShowAllFiles -bool true,再按com + alt + esc喇嘱,選中Finder重啟茉贡,就可以看到.ssh隱藏文件夾了,右鍵它者铜,在新的finder里面打開腔丧,然后編輯文檔known_hosts,刪掉之前此ip留下的那一串作烟,然后就可以鏈接了愉粤。