ssh 쉘 github에 접속할 때 사용자 이름 비번 피하는 방법
If you already have your SSH keys set up and are still getting the password prompt, make sure your repo URL is in the form
git+ssh://git@github.com/username/reponame.git
as opposed to
https://github.com/username/reponame.git
To see your repo URL, run:
git remote show origin
You can change the URL with git remote set-url like so:
git remote set-url origin git+ssh://git@github.com/username/reponame.git
- via stackoverflow.com
매번 쉘로 접속할 때마다 아이디 비번을 타이핑하기가 번거로운경우 위 링크의 팁을 이용하면 편리하게 접속할 수 있습니다. git을 많이 사용하는 경우 유용하게 쓰일 수 있을 것 같습니다.
댓글
댓글 쓰기