ssh를 통해 Mac에서 git 저장소를 복제하려고합니다. 단계 지금까지ssh를 사용하여 복제 Git Repositroy
- 만든
id_rsa.pub
다음과/Users/admin/.ssh
에서config
파일을 만든/Users/admin/.ssh
에 위치 access.The 파일에 대한 관리와 공유했다. 파일 내용이
Host MY_DOMAIN IdentityFile ~/.ssh/id_rsa IdentitiesOnly yes
내가
git clone [email protected]_DOMAIN:android.git
git clone [email protected]_DOMAIN:android
터미널
에서 다음 명령을 실행하고 내가이 무엇입니까 응답이
Cloning into 'android'...
Enter passphrase for key '/Users/admin/.ssh/id_rsa':
Connection to MY_DOMAIN closed by remote host.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
난에 조금 혼란 스러워요입니다, 올바른 접근 방식을 따르고 있거나 액세스 권한 문제가있는 경우
gitolite 구성을 표시하십시오. – merlin2011