2017-10-10 13 views
3

私は秘密のリポジオをsshキーでアクセスしています。ホスト名、ポート、sshファイル(_rsa)を.ssh/config fileに設定しました。その後、端末上でgit clone ssh://[email protected]コマンドを実行します。できます。私は、端末上でcomposer update vendor/repo:dev-masterコマンドを実行すると、このコマンドは失敗し、次のエラーを与える:作者git clone --mirror failed

Repository not found
The requested repository does not exist, or you do not have permission to access it.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

+2

私はcomposer.jsonにURLを変更することで問題を解決しました。解決策は 'git + ssh:// git @ stash'です – ihvan

答えて

0

元のポスターによると:

I solved problem by changing url in composer.json. Solution is git+ssh://[email protected] .

関連する問題