git 설정 후 코드를 다운로드할 수 없음, 인증 문제 알림

git 설정 후 코드 다운로드 불가 표시
Unable to negotiate with 192.168.2.151: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1
fatal: Could not read from remote repository.

해결책
1.host에 가입KexAlgorithms=+diffie-hellman-group1-sha12. 사용자 디렉터리에 있는 .ssh 폴더에 새 config 파일을 입력하는 방법도 있습니다
Host *
    KexAlgorithms +diffie-hellman-group1-sha1

좋은 웹페이지 즐겨찾기