1、ssh-keygen -t rsa -b 4096 -C 邮箱地址2、eval $(ssh-agent -s)3、ssh-add ~/.ssh/id_rsa4、cat ~/.ssh/id_rsa.pub5、add the pub_key to github setting ssh6、ssh -T gitgithub.comHi W-XIAO-YONG! Youve successfully authenticated, but GitHub does not provide shell access.
阅读完成 · 觉得有帮助?