
目的:
GitHubに接続すること
環境:
・macOS Big Sur 11.4
・Pleiades All in One(Eclipse 2019-12)
・MySQL 8.0.25
・DBeaver 21.1.0
こちらの記事に従って作業を行いました。
・一番最後の項目[事後確認・作業]の直前までは、上手くいきました。
・[事後確認・作業]で下記エラーが出てしまいました。
txt
1marina@MarinanoMBP ~ % ssh -T git@github.com 2Warning: Permanently added the RSA host key for IP address '13.114.40.48' to the list of known hosts. 3git@github.com: Permission denied (publickey).
試したこと
Permission denied (publickey).で検索して下記2点試しました。
1)https://qiita.com/katsukii/items/c3df0653ac07d41fe03f
「これでもダメな場合」に載っている内容をconfファイルに追記しましたが、追記した行がエラーの対象になってしまいました。
mgoto@MarinanoMBP ~ % ssh -T git@github.com
/Users/marina/.ssh/config: line 5: Bad configuration option: permitrootlogin
/Users/marina/.ssh/config: line 8: Bad configuration option: permitemptypasswords
/Users/marina/.ssh/config: terminating, 2 bad configuration options
2)https://qiita.com/youcune/items/2f427979403771f2e03a
まずログを見る、と書いてあったので、/var/log/secureをPC全体で検索しましたが、見つかりませんでした。
(ターミナルで、「find / -name system.log」を実行しました。)


回答3件
あなたの回答
tips
プレビュー