RPiのsshログイン時のエラーメッセージ

RPiにsshでリモートログインすると、エラーメッセージが出る。

The authenticity of host 'rpi.local (192.168.0.5)' can't be established.
RSA key fingerprint is hogehoge!"#$.
Are you sure you want to continue connecting (yes/no)? yes
Failed to add the host to the list of known hosts (/Users/username/.ssh/known_hosts).

どうやら、known_hostsのオーナーがいつの間にか(SDを焼き直した時)rootになっていたようだ。

sudo chown $USER known_hosts

https://stackoverflow.com/questions/17668283/failed-to-add-the-host-to-the-list-of-know-hosts/23362102

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

CAPTCHA


計算式を埋めてください * Time limit is exhausted. Please reload CAPTCHA.