执行命令 ssh-keygen -t rsa -C "***@guazi.com"
一路回车到结束
执行命令 cat .ssh/id_rsa.pub,显示key
打开web访问http://git.corp.ganji.com/
点击右侧:“Profile Settings”->“SSH KEYS”->“ADD SSH KEYS”
命令行生成永久key方法
原文:http://www.cnblogs.com/mood-butterfly/p/6386865.html