Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/weifengdq/article/details/82715126
Command Line
Configuration command line GitLab configure ssh key this blog, briefly as follows:
Open git bash, enter the following command to generate public and private keys ssh, -C email address parameters
ssh-keygen -t rsa -C 'your-email'
Open ~ / .ssh / id_rsa.pub file (~ indicates the user directory), copy the contents therein.
- Open gitlab page, top right corner of Avatar -> Settings-> left column SSH Keys
- Paste the contents of id_rsa.pub file copied to the Key corresponding text box, in Title text box corresponding to the sshkey set a name, click on the Add key button to complete.
GitKraken
Top right Setting -> Preferences -> Authentication -> removed Use local SSH agent check -> Generate ... generate a public and private key pair, the remaining steps refer to the command line.