SSH server configuration using git free to submit secret

1. Generate SSH

 1.1 Download

Download tool puttygen.exe, of course, other tools your own search.

download link: 

Download 1    Baidu network disk (extraction code: if8g) https://pan.baidu.com/s/1cJBOjkPaZtYc_hmA1GoYmw

Locally-generated 1.2

1.2.1 Open Interface

 

1.2.2 Click "Generate" to generate 

 

 1.2.3 generated. 

Use the mouse over the screen , it will generate. Select Type (gitlab select SSH-2 RSA, others may need to be generated)

1.2.4 generate public and private keys

 

 1.2.5 save the public key file

Click the Save button to save the private key file (.ppk files, code check-in time to bring this file)

2. Configure the server sshkey

2.1 landing git server, ssh into the setting interface

To gitlab example:

2.2 Click Settings (Setting SSH Keys to enter the configuration interface)

2.3 copy the public key

Copy the frame pasted to the inside of the public key ssh git box for the server.

 

 reference:

How to use to generate the key puttygen

 

Guess you like

Origin www.cnblogs.com/wtujvk/p/10959854.html