質問編集履歴

3

追加

2020/01/21 07:12

投稿

rattsl
rattsl

スコア14

test CHANGED
File without changes
test CHANGED
@@ -36,12 +36,52 @@
36
36
 
37
37
  追記
38
38
 
39
- [qiita](https://qiita.com/grgrjnjn/items/8ca33b64ea0406e12938)の記事を参考に
39
+ [qiita](https://qiita.com/grgrjnjn/items/8ca33b64ea0406e12938)の記事では
40
40
 
41
- `ssh-keygen -R パブリックIPアドレス`
41
+ ```
42
42
 
43
- を打つと
43
+ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
44
44
 
45
- `Host xx.xx.xx.xx not found in /Users/username/.ssh/known_hosts`
45
+ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
46
46
 
47
+ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
48
+
49
+ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
50
+
51
+ Someone could be eavesdropping on you right now (man-in-the-middle attack)!
52
+
53
+ It is also possible that the RSA host key has just been changed.
54
+
55
+ The fingerprint for the RSA key sent by the remote host is
56
+
57
+ 29:24:c2:69:a3:b0:dc:4d:23:fc:9d:85:9f:ea:01:9b.
58
+
59
+ Please contact your system administrator.
60
+
61
+ Add correct host key in /home/grgrjnjn/.ssh/known_hosts to get rid of this message.
62
+
63
+ Offending key in /home/grgrjnjn/.ssh/known_hosts:3
64
+
65
+ RSA host key for remote_host has changed and you have requested strict checking.
66
+
67
+ Host key verification failed.
68
+
47
- と出ます
69
+ ```
70
+
71
+ というエラーなのですが、私のエラーは
72
+
73
+ ```
74
+
75
+ The authenticity of host '13.230.239.214 (13.230.239.214)' can't be established.
76
+
77
+ ECDSA key fingerprint is SHA256:ZJvu6jij6asjPdtc5ItVL1piDQeUcdu9XOedPtZX4Fc.
78
+
79
+ Are you sure you want to continue connecting (yes/no)?
80
+
81
+ Host key verification failed.
82
+
83
+ ```
84
+
85
+ と出ております。known_hostsに問題があるのでしょうか?
86
+
87
+ 私自身キーペアに問題があるのかと思い、もう一度インスタンスを立て直したのですが変わりませんでした。。

2

追記

2020/01/21 07:12

投稿

rattsl
rattsl

スコア14

test CHANGED
File without changes
test CHANGED
@@ -30,4 +30,18 @@
30
30
 
31
31
  と出ます。
32
32
 
33
- どうしたらいいでしょうか
33
+ どうしたらいいでしょうか
34
+
35
+
36
+
37
+ 追記
38
+
39
+ [qiita](https://qiita.com/grgrjnjn/items/8ca33b64ea0406e12938)の記事を参考に
40
+
41
+ `ssh-keygen -R パブリックIPアドレス`
42
+
43
+ を打つと
44
+
45
+ `Host xx.xx.xx.xx not found in /Users/username/.ssh/known_hosts`
46
+
47
+ と出ます

1

誤字

2020/01/15 05:22

投稿

rattsl
rattsl

スコア14

test CHANGED
File without changes
test CHANGED
@@ -24,6 +24,10 @@
24
24
 
25
25
  ```
26
26
 
27
-
27
+ Host key verification failed.
28
28
 
29
29
  ```
30
+
31
+ と出ます。
32
+
33
+ どうしたらいいでしょうか