"GitHub 메시지 Key is already in use"의 두 판 사이의 차이

19번째 줄: 19번째 줄:
==참고==
==참고==
* https://help.github.com/en/github/authenticating-to-github/error-key-already-in-use
* https://help.github.com/en/github/authenticating-to-github/error-key-already-in-use
* [https://www.lainyzine.com/ko/article/creating-ssh-key-for-github/ GitHub 접속 용 SSH 공개키와 비밀키 만들기]


[[분류: GitHub]]
[[분류: GitHub]]
[[분류: SSH]]
[[분류: SSH]]

2021년 4월 27일 (화) 02:18 판

1 개요

Key is already in use
GitHub Key is already in use
  • GitHub에서 발생하는 오류 메시지
  • GitHub은 하나의 키(정확히는 공개키)를 여러 repo에서 사용할 수 없게 제한되어 있다.
반면, GitLab은 하나의 키를 여러 repo에서 사용할 수 있으므로 발생하지 않는다.
  • Settings --- Deploy keys --- [Add deploy key] 했을 때, 이미 다른 곳에서 해당 키를 사용 중일 때 나온다.
  • 어디서 사용하고 있는지 확인하려면 다음 명령어를 실행해보자.
$ ssh -T -ai ~/.ssh/id_rsa git@github.com
Hi username/repo! You've successfully authenticated, but GitHub does not provide shell access.

2 같이 보기

3 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}