标签:内容 bash id_rsa .com gen use ash 目录 key
1、删除.ssh文件夹2、在Git的bin目录下打开bash.exe,输入命令ssh-keygen -t rsa -C "username"
3、复制C:\Users\WASHINSOFT.ssh\id_rsa.pub的全部内容
4、 打开https://github.com/,登陆账户,进入设置(Settings)找到SSH and GPG keys,点击New SSH Key,在key中粘贴id_rsa.pub的全部内容。
5、在bash.exe中输入ssh -T git@github.com
标签:内容 bash id_rsa .com gen use ash 目录 key
原文地址:http://blog.51cto.com/12183631/2324966