반응형
Github SSH 구성
여러 SSH 계정 (특히 github.com의 경우)에 대해 .ssh / config 파일을 만들려고합니다. 여러 자습서와 github 도움말 안내를 시도했지만 아무것도 작동하지 않는 것 같습니다.
내가 만들어 id_rsa_test
와 id_rsa_test.pub
. id_rsa_test.pub
github에 업로드 했습니다.
그런 ~/.ssh/config
다음 다음과 같은 파일 을 만들었습니다 .
# github account
Host github.com-test github.com
Hostname github.com
User git
IdentifyFile ~/.ssh/id_rsa_test
과
# github account
Host github.com-test github.com
Hostname github.com
User git
IdentifyFile ~/.ssh/id_rsa_test.pub
그런 다음 몇 가지 명령을 시도합니다. 즉 :
git clone git@github-test:username/my_project.git
git push
... 다음 오류가 발생할 때마다 :
/home/username/.ssh/config: line 5: Bad configuration option: IdentifyFile
/home/username/.ssh/config: terminating, 1 bad configuration options
fatal: The remote end hung up unexpectedly
어떤 제안?
't'가있는 IdentityFile이며, IdentifieFile이 아닙니다.
참조 URL : https://stackoverflow.com/questions/16116788/github-ssh-config
반응형
'UFO ET IT' 카테고리의 다른 글
Linux에서 C의 디렉토리를 재귀 적으로 나열하는 방법은 무엇입니까? (0) | 2021.01.05 |
---|---|
배열 변경시 $ watch가 트리거되지 않음 (0) | 2021.01.05 |
popBackStack 후 ViewPager의 조각이 복원되지 않음 (0) | 2021.01.05 |
Android Studio 업데이트 후 Gradle 빌드 오류 (0) | 2021.01.05 |
Resharper와 함께 VS 코드 스 니펫 사용 (0) | 2021.01.05 |