Reset Tryagain
Git cannot find the specified item in the Keychain reconfigure public key bite
SSH keys
An SSH key allows establish a secure connection between your computer and GitLab. Before generating an SSH key in your shell, check if your system already have one by running the following command:
cat ~/.ssh/id_rsa.pub
If you see a long string starting ssh-rsa
with or ssh-dsa
, you can skip the ssh-keygen
step.
Note:it is a best practice to use a password for an SSH key, but It's not required and you can skip creating a password by pressing ENTER. Note that the password-choose here can ' t be altered or retrieved.
To generate a new SSH key, use the following command:
"[email protected]"
This command would prompt you and filename to store the key pair and for a password. When prompted is the location and filename, you can press enter into use the default.
Use the command below to show your public key:
cat ~/.ssh/id_rsa.pub
Copy-paste the key to the ' My ssh Keys ' sections under the ' SSH ' tab in your user profile. Please copy the complete key starting with and ssh-
ending with your username and host.
To copy your public key to the Clipboard, use code below. Depending on your OS "ll need to use a different command:
Windows:
clip < ~/.ssh/id_rsa.pub
Mac:
pbcopy < ~/.ssh/id_rsa.pub
http://www.jianshu.com/p/1232f048f98a
Localhost:.ssh songximing$ Cat ~/.ssh/id_rsa.pub
Ssh-rsa aaaab3nzac1yc2eaaaadaqabaaabaqdbnyo5xdomyeqld+7qr7i0/h5bemtaqsrqpgimihrcj9qn31imkdjwgvdiewzwmmx+ pr8apyd4kxs9isbw9samhgwxcl2sdr3sqig6nihjbjmxa0qaydaxioteap6+yulekrgbdflxivlixbbge3bvhn1exmqphnwtumdob/ gp94wfxia1gwx1ehnc5xclo3j/eyyeuqvbtn6ijfhdavebhvr7j1yphw2jpuhqp1bqyw+a6mqeutd4gqhy/ 80jukndmafm3p0krpwtqd9v6chwwm0g7mterh6bgerl9biqt4dbsn/ou/dxnjygbxp2rs4xvc8exbfyktb1y4uyrx4p [email protected]
Localhost:.ssh songximing$ git config--global user.email "[Email protected]"
Localhost:.ssh songximing$ git config--global user.name "songximing"
Localhost:.ssh songximing$
Upgrade Mac Xcode Packaging certificate error git error