質問編集履歴

4

編集

2020/05/10 05:03

投稿

sakanakun
sakanakun

スコア8

test CHANGED
File without changes
test CHANGED
@@ -88,7 +88,7 @@
88
88
 
89
89
  warning: Permanently added'heroku.com,~'to the list of known hosts.
90
90
 
91
- git@heroku.com: Permission denied (publickey)....
91
+ git@heroku.com: Permission denied (publickey).....
92
92
 
93
93
  最初に提示したエラーと同じように表示される
94
94
 

3

編集

2020/05/10 05:03

投稿

sakanakun
sakanakun

スコア8

test CHANGED
File without changes
test CHANGED
@@ -82,4 +82,14 @@
82
82
 
83
83
  RSA key fingerprint is sha256:~~.
84
84
 
85
+
86
+
87
+ Are you sure you want to continue connecting (yes/no)? yes
88
+
89
+ warning: Permanently added'heroku.com,~'to the list of known hosts.
90
+
91
+ git@heroku.com: Permission denied (publickey)....
92
+
93
+ 最初に提示したエラーと同じように表示される
94
+
85
95
  ```

2

修正

2020/05/10 05:02

投稿

sakanakun
sakanakun

スコア8

test CHANGED
File without changes
test CHANGED
@@ -44,11 +44,35 @@
44
44
 
45
45
  ```
46
46
 
47
- **追記**
47
+ **追記・試したこと**
48
48
 
49
- ssh keyを作り直す
49
+ ssh keyを作り直す
50
50
 
51
51
  ```
52
+
53
+ ~/.ssh/
54
+
55
+ id_rsa
56
+
57
+ id_rsa.pub
58
+
59
+ known_hosts
60
+
61
+ ```
62
+
63
+
64
+
65
+ ```terminal
66
+
67
+ >heroku keys:clear
68
+
69
+ Removing all SSH keys...done
70
+
71
+ >heroku keys:add
72
+
73
+ uploading ~.ssh/id_rsa.pub SSH key...done
74
+
75
+
52
76
 
53
77
  >git push heroku master
54
78
 

1

編集

2020/05/10 04:51

投稿

sakanakun
sakanakun

スコア8

test CHANGED
File without changes
test CHANGED
@@ -43,3 +43,19 @@
43
43
 
44
44
 
45
45
  ```
46
+
47
+ **追記**
48
+
49
+ ssh keyを作り直すと
50
+
51
+ ```
52
+
53
+ >git push heroku master
54
+
55
+
56
+
57
+ The authenticity of host 'heroku.com 'can't be established.
58
+
59
+ RSA key fingerprint is sha256:~~.
60
+
61
+ ```