Upgrade Mac Xcode Packaging certificate error git error

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.