以下の手順でgit cloneを試みましたが、エラーが出てclone出来ません。
原因が分からず、ご教授願いませんでしょうか。
参考:http://qiita.com/master-of-sugar/items/a9892879f6e9cb9f3c97
手順
0. githubでRepository作成
0. EC2でSSHキーを作成しRepositoryのdeployキーへ.pubを登録
0. ssh -T github
で接続テスト完了
0. git clone git@github.com:XXXX/repository_name.git
0. permissionエラーが発生
エラーの詳細
$ ssh -T github Hi sample/repository_name! You've successfully authenticated, but GitHub does not provide shell access. $ cd /var/www/html $ sudo git clone git@github.com:XXXX/repository_name.git Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
退会済みユーザー
2017/04/30 03:35