SSHがつながらない
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The RSA host key for サイトURL has changed,
and the key for the corresponding IP address ×××.×××.×××.×××
is unknown. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
××:××:××:××:××:××:××:××:××:××:××:××:××:××:××:××.
Please contact your system administrator.
Add correct host key in /Users/ユーザ名/.ssh/known_hosts to get rid of this message.
Offending key in /Users/ユーザ名/.ssh/known_hosts:1
RSA host key for サイトURL has changed and you have requested strict checking.
Host key verification failed.
なにかと思った。どうやらホストのサーバーが変わったのでこのエラーがでているみたい。
$ cd ~/.ssh
$ ls -al
$ rm known_hosts
でknown_hostsを消してしまうか、
$ ssh-keygen -F サイトURL
で見て、
$ ssh-keygen -R サイトURL
で、該当箇所を消すか。
どちらにしろ再度ログインしたときに、RSA key fingerprintがどーたらこーたらって言われたらyesで入れるようになりました。