-
How to generate ssh keys for gitlab.com on windowsDevelopment 2017. 2. 2. 22:49728x90
Please follow steps below to generate ssh keys for gitlab.com on windows.
- Install puttygen
- You can download/install it from the URL below
- http://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
- Run puttygen
- By default, 'SSH-2 RSA' is checked, if not, please check it.
- Click 'Generate', progress bar will start to move, with message which is 'moving mouse'
- Don't forget moving your mouse around red eclipse below
- After it is generated, please type password into 'Key passphrase'
- type password one more time into 'Confirm passphrase'
- Don't forget same password should be typed
- Click 'Save public key'
- it should be saved into 'C:\Users\skysign\.ssh', if your windows user name is 'skysign'
- the file name of public key, should be id_rsa.pub
- In the menu on PuTTYGen, click 'Conversions' and click 'Export OpenSSH key'
- it should be saved into 'C:\Users\skysign\.ssh'
- it's file name should be id_rsa
- Copy the string which begin with 'ssh-rsa ~~~~~', on PuttyGen, actually, it is your ssh public key
- it should be saved into gitlab.com, copy & paste it into 'Key' on https://gitlab.com/profile/keys
- Now you are ready to clone any project from gitlab.com
Please refer the example below, the passphrase is same with #5 and #6.D:\work2\xxx_gitlab>git clone git@gitlab.com:skysign/xxx.git
Cloning into 'xxx'...
Enter passphrase for key '/c/Users/skysign/.ssh/id_rsa': remote: Counting objects: 167, done. remote: Compressing objects: 100% (113/113), done. remote: Total 167 (delta 52), reused 167 (delta 52) Receiving objects: 100% (167/167), 167.22 MiB | 335 KiB/s, done. Resolving deltas: 100% (52/52), done. Checking out files: 100% (112/112), done. D:\work2\xxx_gitlab>728x90'Development' 카테고리의 다른 글
Jupyter notebook에 nbextension 설치/사용 방법 (2) 2018.11.10 https 키 생성 명령어 (0) 2018.11.10 Docker 명령어 모음 (0) 2018.11.10 Android MediaSync Example (0) 2018.02.19 리액티브 프로그래밍(Reactive Programming) 이란 무엇인가? (0) 2017.01.21