github ssh 免密登陆

git config --global user.name n
git config --global user.email e
ssh-keygen

/User/nazhou/.ssh下的id_rsa.pub中的内容拷贝到github中即可。

localhost:.ssh nazhou$ ssh -T git@github.com
Enter passphrase for key '/Users/nazhou/.ssh/id_rsa': 
Hi zhouna! You've successfully authenticated, but GitHub does not provide shell access.

猜你喜欢

转载自blog.csdn.net/familyshizhouna/article/details/81008738