質問編集履歴

1

「試したこと」という項目を追加しました

2023/03/02 20:27

投稿

sino3325
sino3325

スコア65

test CHANGED
File without changes
test CHANGED
@@ -24,7 +24,36 @@
24
24
  Please make sure you have the correct access rights
25
25
  and the repository exists.
26
26
 
27
+ エラー終了しました。エラーの内容は上記をご覧ください。
28
+ ```
27
29
 
30
+ 試したこと
31
+ --
32
+ ERRORメッセージに「SSHクライアントをPuTTY/Plinkに切り替えてください」と書いてあったので「ツール > オプション」を開き「OpenSSH」としていたところを「PuTTY/Plink」にして「OK」を押したのですが、すると次はプッシュしたときに以下のERRORが発生しました。
33
+ ```ERROR
34
+ git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags --set-upstream origin main:main
35
+ Pushing to github.com:sino3325/github-practice.git
36
+ The host key is not cached for this server:
37
+ github.com (port 22)
38
+ You have no guarantee that the server is the computer
39
+ you think it is.
40
+ The server's ssh-ed25519 key fingerprint is:
41
+ ssh-ed25519 255 SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU
42
+ If you trust this host, enter "y" to add the key to
43
+
44
+
45
+
46
+
47
+ エラー終了しました。エラーの内容は上記をご覧ください。
48
+ PuTTY's cache and carry on connecting.
49
+ If you want to carry on connecting just once, without
50
+ adding the key to the cache, enter "n".
51
+ If you do not trust this host, press Return to abandon the
52
+ connection.
53
+ Store key in cache? (y/n, Return cancels connection, i for more info) fatal: Could not read from remote repository.
54
+
55
+ Please make sure you have the correct access rights
56
+ and the repository exists.
28
57
 
29
58
  エラー終了しました。エラーの内容は上記をご覧ください。
30
59
  ```