gitを用いてgithubで作業しています
ssh鍵を生成したあと、ログインしてgitを使っていました。
しかし、久しぶりにgitでcloneしようとしたら、
git@github.com: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
上記のエラーが出て、使えなくなりました...
しかし、認証は通っているようです。
C:\hogehoge\git>ssh github Enter passphrase for key 'C:\hogehoge/': //パスフレーズを入力 PTY allocation request failed on channel 0 Hi hogehoge! You've successfully authenticated, but GitHub does not provide shell access. Connection to github.com closed.
コンソールで試してみたのですが、以上のように認証は通っているようです...
なお、パスフレーズを忘れていて数回間違えてしまいました。これでロックされるということはないでしょうか。
なにがいけないのでしょうか...
環境は、Windows10(64bit)です。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。