배포 키를 사용하여 원격 EC2 우분투 인스턴스에 저장소를 복제 할 수 없습니다. 다음 단계는 다음과 같습니다. 배포 키 (bitbucket)를 사용하여 복제 할 수 없습니다. EC2
- 내가 내가 내가 these steps 다음 내 새 키를 생성
- https://stackoverflow.com/a/26520681/808734 다음
~/.ssh/know_hosts
을 청소하고 REPO에 deployment key로 추가 내의 bitbucket 계정 - 에 있던 기존 배포 키를 삭제. 여기
- 는
의 출력 그러나 나는
sudo git clone [email protected]:username/repository.git
내가Cloning into 'repository'... Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
ssh -T [email protected]
You can use git or hg to connect to Bitbucket. Shell access is disabled. This deploy key has read access to the following repositories: username/repository: KEYNAME -- [email protected]
내가 여기서 뭔가를 놓치고 다음과 같은 오류를 얻을 저장소를 복제 할 때 ? 아무도 조언 있니?
읽어 주셔서 감사합니다.
'ssh-add' saved me. 새 키를 만들고 그것을 시도한 후에도 수동으로'ssh-add'를 추가해야했습니다. 잘 했어! – Aarmora
와아! 그게 그랬어!, 문제가 아니라면 진짜 문제가 무엇인지,이 코드는 무엇을했는지 알려주시겠습니까? – BlackBurn027