この通りに実行したのですが
https://git-scm.com/book/ja/v1/Git-%E3%82%B5%E3%83%BC%E3%83%90%E3%83%BC-Gitolite
git clone git@gitserver:gitolite-admin
の時に
Cloning into 'gitolite-admin'...
Permission denied (publickey).
fatal: Could not read from remote repository.Please make sure you have the correct access rights
and the repository exists.
と出力されます。
原因は何なのでしょうか?
git clone git@gitserver:testing
でも同じです。
ファイルの権限ですが
/repositories が drwx------ git
/repositories の下にdrwx------ git gitolite-admin.git
drwx------ git testing.git
という状態です。
sshの方ではこうすると
ssh -i key git@gitserver
このように出力されます。
PTY allocation request failed on channel 0
hello git, this is git@gitserver running gitolite3 v3.6.4-19-g8de9b8d on git 1.9.1R W gitolite-admin
R W testing
Connection to local closed.
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。