以下の内容はhttps://anton0825.hatenablog.com/entry/20131003/1386215117より取得しました。


git push -u origin masterするとpasswordを聞かれる

そしてgitユーザのpasswordを入力しても以下のようなメッセージが出てpushできない。

git@localhost's password:
fatal: '/user/test.git' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

これの原因はGitlabサーバの公開鍵の権限設定。以下を実行すると直った。

sudo chmod 644 /home/git/.ssh/authorized_keys
sudo chmod 755 /home/git/.ssh

公開鍵の権限がオープンすぎたのがだめだったっぽい。
これはわからん。。




以上の内容はhttps://anton0825.hatenablog.com/entry/20131003/1386215117より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14