Brewコマンドの使用中にGitリポジトリにどのようにアクセスしますか?

Brewコマンドの使用中にGitリポジトリにどのようにアクセスしますか?

Brewを使用してパッケージをインストールしようとしていますが、GithubにSSHキーを追加しましたが、Githubのユーザー名とパスワードを要求して接続を認証することはできません。この問題を解決する方法を提案できますか?端末の応答は次のとおりです。

fam007e@DarkKnightz:~$ brew tap owasp-amss/amass
Running `brew update --auto-update`...
==> Tapping owasp-amss/amass
Cloning into '/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/owasp-amss/homebrew-amass'...
Username for 'https://github.com': fam007e
Password for 'https://[email protected]': 
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/owasp-amss/homebrew-amass/'
Error: Failure while executing; `git clone https://github.com/owasp-amss/homebrew-amass /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/owasp-amss/homebrew-amass --origin=origin --template= --config core.fsmonitor=false` exited with 128.
fam007e@DarkKnightz:~$ ssh -T [email protected]
Hi fam007e! You've successfully authenticated, but GitHub does not provide shell access.

ベストアンサー1

このリポジトリはパブリックにアクセスできません。プライベートアクセスでログインした場合:

エラーメッセージに記載されているリンクをお読みください。実行する必要がある操作(ログインしてアクセストークンを取得し、gitで使用するなど)について説明します。

おすすめ記事