본문 바로가기
백엔드기술/개발환경

github 윈도우에서 ssh 설정하기

by RevFactory 2014. 9. 16.
반응형


윈도우 콘솔에서 git 명령을 날리니 매번 아이디와 패스워드를 물어보기에

찾아보고 해결방법을 정리함


1. git bash 실행


2. SSH Key 확인 - (있으면 3번 패스)

$ ls -al ~/.ssh


3. SSH Key 생성

$ ssh-keygen -t rsa -c "minho@daumcorp.com"


4. ssh-agent 실행

$ eval `ssh-agent -s`


5. ssh 추가

$ ssh-add


6. ssh 키 등록

~/.ssh/id_rsa.pub 파일 내용을 github에 추가

Add SSH key



참고사이트

- https://help.github.com/articles/generating-ssh-keys

- http://stackoverflow.com/questions/17846529/could-not-open-a-connection-to-your-authentication-agent

반응형

'백엔드기술 > 개발환경' 카테고리의 다른 글

Json String을 Indent 적용해서 예쁘게 출력하기  (0) 2014.11.06
Postgresql 유용한 함수  (0) 2014.09.04
STS.ini 백업  (0) 2014.08.29