git pull 아무것도하지 않음 / git push just hangs / debug1 : expecting SSH2_MSG_KEX_ECDH_REPLY

제이슨

우분투 13.10 및 12.10에서 github (git clone / pull / push 또는 기타)에 연결하려는 시도가 출력없이 실패하는 문제가 발생했습니다.

내 /.ssh 디렉토리 config와 모든 ssh 키를 확인했습니다. 구성 파일이 없었고 ssh 키 id_rsa는 내 github.com 계정에있는 것과 동일했습니다.

나는 github 서버에 ping을 시도했으며 가능했습니다.

상황을 디버그하기 위해 github 가이드를 따랐습니다.

ssh -T -v [email protected]

출력은 다음에서 중지됩니다.

debug1: sending SSH2_MSG_KEX_ECDH_INIT
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY

누구나 내 git pull / push 등이 작동하도록 허용하는 솔루션이 있습니다.

제이슨

해결책은 여기에서 찾았습니다. SSH는 퍼티에서 작동하지만 터미널에서는 작동하지 않습니다.

Ubuntu 13.10 / 12.10에서 로그인하고 sudo 액세스 권한을 얻습니다.

편집 /etc/ssh/ssh_config하고 다음 줄의 주석 처리를 제거하십시오.

Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
GSSAPIAuthentication yes
GSSAPIDelegateCredentials no
MACs hmac-md5,hmac-sha1,[email protected],hmac-ripemd160

다음 줄을 추가하십시오.

HostKeyAlgorithms ssh-rsa,ssh-dss

다음 /etc/ssh/ssh_config과 같은 파일로 끝나야합니다.

Host *
Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
MACs hmac-md5,hmac-sha1,[email protected],hmac-ripemd160
SendEnv LANG LC_*
HashKnownHosts yes
GSSAPIAuthentication yes
GSSAPIDelegateCredentials no
HostKeyAlgorithms ssh-rsa,ssh-dss

이제 실행 ssh -T -v [email protected]하면 알려진 호스트 파일에 서버를 추가하라는 메시지가 표시됩니다. 예를 누르면 서버에 오신 것을 환영합니다.

Hi ****! You've successfully authenticated, but GitHub does not provide shell access.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

git revert -m 1 후 git push, 아무것도 푸시하지 않음

분류에서Dev

왜 "git pull"exec 명령이 멈추고 아무것도 인쇄하지 않습니까?

분류에서Dev

Git push origin master to remote repo는 암호를 세 번 요청하고 아무것도하지 않습니다.

분류에서Dev

Git-Git Pull이 Cygwin에서 작동하지 않음

분류에서Dev

svn2git이 멈추고 아무것도 출력하지 않습니다.

분류에서Dev

git pull / push에 .pem 포함

분류에서Dev

Git first pull and push to master issue

분류에서Dev

git agony part 2: what does it mean when git won't commit, pull or push a file?

분류에서Dev

Git 병합 충돌, 아무것도 제거하고 싶지 않음

분류에서Dev

Git 로그에 아무것도 표시되지 않음

분류에서Dev

Git pull이 원격 업로드에 작동하지 않음

분류에서Dev

Android Studio 3.6에서 git push 또는 pull을 할 수 없음

분류에서Dev

GIT 용 Visual Studio 도구-FETCH / PUBLISH 대 PULL / PUSH

분류에서Dev

git push 및 git pull에 대해 올바르게 이해하고 있습니까?

분류에서Dev

git pull from one server, merges and push to 2nd server

분류에서Dev

git push origin master가 파일을 푸시하지 않음

분류에서Dev

git bash can't pull or push from bitbucket or github

분류에서Dev

Git`format-patch`는 아무것도 반환하지 않습니다.

분류에서Dev

명령에 브랜치 이름을 제공 할 때 Git pull이 작동하지 않음 (git 버전 1.7.1)

분류에서Dev

Git 커밋, git push to GitHub, 더 이상 커밋 할 것이 없지만 GitHub가 업데이트되지 않음

분류에서Dev

Python의 Git Push가 전체 메시지를 표시하지 않음

분류에서Dev

Git Push / Pull 로컬 리포지토리를 로컬 리포지토리로 (Windows)

분류에서Dev

먼저 git fetch없이 git push가 안전합니까? (또는 git pull)

분류에서Dev

git push to repository pull from other and when push descard images 폴더

분류에서Dev

MATLAB git Pull

분류에서Dev

Git commit --amend alias hangs

분류에서Dev

배포 키가 git pull에서 작동하지 않습니다.

분류에서Dev

git branch가 아무것도 표시하지 않는 이유는 무엇입니까?

분류에서Dev

내 로컬 컴퓨터에서 git push / pull / fetch에 사용자 이름과 암호를 제공하지 않으려면 어떻게해야합니까?

Related 관련 기사

  1. 1

    git revert -m 1 후 git push, 아무것도 푸시하지 않음

  2. 2

    왜 "git pull"exec 명령이 멈추고 아무것도 인쇄하지 않습니까?

  3. 3

    Git push origin master to remote repo는 암호를 세 번 요청하고 아무것도하지 않습니다.

  4. 4

    Git-Git Pull이 Cygwin에서 작동하지 않음

  5. 5

    svn2git이 멈추고 아무것도 출력하지 않습니다.

  6. 6

    git pull / push에 .pem 포함

  7. 7

    Git first pull and push to master issue

  8. 8

    git agony part 2: what does it mean when git won't commit, pull or push a file?

  9. 9

    Git 병합 충돌, 아무것도 제거하고 싶지 않음

  10. 10

    Git 로그에 아무것도 표시되지 않음

  11. 11

    Git pull이 원격 업로드에 작동하지 않음

  12. 12

    Android Studio 3.6에서 git push 또는 pull을 할 수 없음

  13. 13

    GIT 용 Visual Studio 도구-FETCH / PUBLISH 대 PULL / PUSH

  14. 14

    git push 및 git pull에 대해 올바르게 이해하고 있습니까?

  15. 15

    git pull from one server, merges and push to 2nd server

  16. 16

    git push origin master가 파일을 푸시하지 않음

  17. 17

    git bash can't pull or push from bitbucket or github

  18. 18

    Git`format-patch`는 아무것도 반환하지 않습니다.

  19. 19

    명령에 브랜치 이름을 제공 할 때 Git pull이 작동하지 않음 (git 버전 1.7.1)

  20. 20

    Git 커밋, git push to GitHub, 더 이상 커밋 할 것이 없지만 GitHub가 업데이트되지 않음

  21. 21

    Python의 Git Push가 전체 메시지를 표시하지 않음

  22. 22

    Git Push / Pull 로컬 리포지토리를 로컬 리포지토리로 (Windows)

  23. 23

    먼저 git fetch없이 git push가 안전합니까? (또는 git pull)

  24. 24

    git push to repository pull from other and when push descard images 폴더

  25. 25

    MATLAB git Pull

  26. 26

    Git commit --amend alias hangs

  27. 27

    배포 키가 git pull에서 작동하지 않습니다.

  28. 28

    git branch가 아무것도 표시하지 않는 이유는 무엇입니까?

  29. 29

    내 로컬 컴퓨터에서 git push / pull / fetch에 사용자 이름과 암호를 제공하지 않으려면 어떻게해야합니까?

뜨겁다태그

보관