소스트리 push 실패 (오류코드 까먹음)

2022. 1. 11. 20:31·Git

소스트리에서 remote branch로 push 실패함.

 

오류로그에서 아래 링크가 있었음.

https://github.blog/2021-09-01-improving-git-protocol-security-github/

 

Improving Git protocol security on GitHub | The GitHub Blog

We’re changing which keys are supported in SSH and removing unencrypted Git protocol. If you’re an SSH user, read on for the details and timeline.

github.blog

 

Github 보안 정책 변경으로 인해 RSA ssh키 사용 불가능 하다고 함.
 
우선 sourcetree의 도구 > ssh key 생성 또는 불러오기 선택

ED25519 선택 후 Generate 클릭

public key for pasting into OpenSSH authorized_keys file:
ssh-ed25519 로 시작하는 내용을 모두 복사해두자.

public key와 private key 저장

도구 > 옵션 > 일반 이동하여 SSH 키 경로를 새로 생성한 ssh private key로 설정

github 계정 설정으로 들어가 SSH and GPG Key 선택 후 ssh키 추가하고, 아까 복사하둔 내용을 붙여넣기

이후 push 정상적으로 수행되는지 확인해보자.

 

'Git' 카테고리의 다른 글

Github Foundations 준비  (4) 2024.09.06
Github Action으로 Android 앱 github Release에 배포하기  (0) 2023.07.06
PC의 stash를 다른 PC에 적용하기  (0) 2023.07.05
macbook SourceTree Push 오류 /home/username/.ssh/config: line 5: Bad configuration option: IdentifyFile/home/username/.ssh/config: terminating, 1 bad configuration optionsfatal: The remote end hung up unexpectedly  (0) 2022.01.04
[Git] 로컬 저장소와 원격 저장소 연동하기  (0) 2021.03.20
'Git' 카테고리의 다른 글
  • Github Action으로 Android 앱 github Release에 배포하기
  • PC의 stash를 다른 PC에 적용하기
  • macbook SourceTree Push 오류 /home/username/.ssh/config: line 5: Bad configuration option: IdentifyFile/home/username/.ssh/config: terminating, 1 bad configuration optionsfatal: The remote end hung up unexpectedly
  • [Git] 로컬 저장소와 원격 저장소 연동하기
HWBB
HWBB
흥미주도개발자
  • HWBB
    코딩공부방
    HWBB
  • 전체
    오늘
    어제
    • 분류 전체보기 (164)
      • 알고리즘 (61)
      • Android (27)
      • Kotlin (0)
      • Java (2)
      • Design Pattern (2)
      • React Native (1)
      • Python (0)
      • TIL (21)
      • Unity (0)
      • React (2)
      • AWS (0)
      • Git (11)
      • MFC (1)
      • Spring (4)
      • Computer Science (4)
      • Vue (4)
      • Infra (6)
      • 박현우 (10)
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
  • 링크

    • 승윤이
  • 공지사항

  • 인기 글

  • 태그

    programmers
    백준
    algorithm
    coding
    github
    Kotlin
    프로그래머스
    알고리즘
    코딩테스트
    android studio
    Android
    GIT
    안드로이드
    코틀린
    baekjoon
    안드로이드 스튜디오
    Java
    자바
    깃허브
    AWS
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
HWBB
소스트리 push 실패 (오류코드 까먹음)
상단으로

티스토리툴바