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
具体情况是,之前家里的二奶开发机装的是ubuntu 16.04,已经使用终端连接过,系统存有指纹备份,发现不一样了,不允许连接,解决办法是。
右键Finder,前往文件夹,/Users/你的用户名
打开终端,输入 defaults write com.apple.finder AppleShowAllFiles -bool true,再按com + alt + esc,选中Finder重启,就可以看到.ssh隐藏文件夹了,右键它,在新的finder里面打开,然后编辑文档known_hosts,删掉之前此ip留下的那一串,然后就可以链接了。