LoginSignup
5
5

More than 5 years have passed since last update.

pepperめも_09:本体の修理から帰ってきたペッパーにSSHで繋げなくなった時の対処法

Last updated at Posted at 2015-08-17

本体の修理から帰ってきたペッパーにSSHで繋げなくなった時の対処法

ペッパーの修理だしたことあります?
帰ってきたペッパーにSSHで繋げなかったので対処法を書いておきますめも

こんなエラーが出る

tonosamalabo:~ tonosamart$ ssh nao@tolebot.local
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@       WARNING: POSSIBLE DNS SPOOFING DETECTED!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The RSA host key for tolebot.local has changed,
and the key for the corresponding IP address 192.168.1.192
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 a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
ce:35:be:c1:5a:44:a9:65:c5:20:b5:ad:e2:b6:51:76.
Please contact your system administrator.
Add correct host key in /Users/tonosamart/.ssh/known_hosts to get rid of this message.
Offending RSA key in /Users/tonosamart/.ssh/known_hosts:51
RSA host key for tolebot.local has changed and you have requested strict checking.
Host key verification failed.

いつものコマンドでつながらない・・・><
そんなときは、known_hostsから、設定を削除する必要があります。

/Users/tonosamart/.ssh/known_hosts
このファイルの、自分のロボット名で始まる行を削除します。そしたら、つながるようになるはずです。

ssh-keygen -R tolebot.local
みたいな感じでコマンド使うと簡単にできますよ!

おしまい

以上、再設定の方法でした!

5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5