2017-10-10 12 views
3

나는 은신처에 개인 repo 및 SSH 키로 액세스 할 수 있습니다. 호스트 이름, 포트, ssh 파일 (_rsa)을 .ssh/config file에 구성했습니다. 나중에 터미널에서 git clone ssh://[email protected] 명령을 실행합니다. 그것은 작동합니다. 내가 터미널에서 composer update vendor/repo:dev-master 명령을 실행하면이 명령이 실패하고 다음 오류 제공 : 원래 포스터에 따르면작곡가 님의 클론 - 미러 실패했습니다

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

답변