Each commit code to the time code of the cloud, you need to enter the account password, really inconvenient, fortunately code cloud provides us with a solution, you only need to create a secret key pair, the public key in the code to add cloud on it , the private key can be stored locally, the following step is to add the public key.
Private keys are generated on
-
Open git bash
-
Enter ssh-keygen -t rsa -C "your email address" can generate a key pair after three carriage returns
-
Enter cat ~ / .ssh / id_rsa.pub to see your public key (public key) with the following results:
-
The plane en route to the last e-mail address (included) to copy it from the ssh-ras (included).
-
Open Cloud code -> Settings -> SSH public keys, there have been the following screen, we just copy the content posted to the prompt area, and finally click OK to the lower left corner
- Enter the password code cloud