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 [email protected]