Add SSH Key to GitLab on Windows

 

Download Git for windows

Open Git Bash

Type in "ssh-keygen -t rsa", and then press Enter button three times

You can find the public key in the "file id_rsa.pub" which located in C:/Users/yourname/.ssh/

 

Login your GitLab account, go to Profile Settings and then go to SSH Keys, and add your public key then everything is OK!

posted @ 2015-04-08 03:55  Grandyang  阅读(583)  评论(0编辑  收藏  举报
Fork me on GitHub