ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • <github> remote: Invalid username or password.
    Flower in my dev/Others 2020. 1. 29. 22:27

    [remote: Invalid username or password 에러해결]

    1. 저장소 주소를 ssh로 수정한다.

    git remote set-url origin <ssh주소>

    2. 설정 확인

    git config -l

    3. 재시도 후 아래와 같은 에러가 발생한다면,

    Warning: Permanently added the RSA host key for IP address

    git@github.com: Permission denied (publickey)

    fatal: Could not read from remote repository

     

    Please make sure you have the corrent access rights

    and the repository exists.

    pub키를 만들고 내용을 복사하여

    github/해당저장소/settings/Deploy keys 에 등록한다.

    Allow write access에 체크해야 push가 가능하다.

    4. push 성공

    Allow write access에 체크를 하지 않으면 read only 상태이기 때문에 push를 하지 못한다.

    'Flower in my dev > Others' 카테고리의 다른 글

    [해피해킹] 프로2  (0) 2016.10.17
    [TP_Link 공유기]  (0) 2016.10.17
    블로그에 소스코드 올리기  (0) 2015.06.22

    댓글

Designed by Tistory.