mark~ mac SSH key

Source: Internet
Author: User
Tags mac ssh key

Here is the build method: 1: Open the terminal input Ssh-keygen and then the system prompts for information such as file save location, three consecutive hit enter, the generated SSH key file is saved in the ~/.ssh/id_rsa.pubcd/users/username/.ssh/ Github_rsa.pub 2 Then open the file with a text editing tool, I use VIM, so the command is: Vim ~/.ssh/id_rsa.pub

https://git.oschina.net/oschina/git-osc/wikis/Help #ssh-keys

Help page history workflow installation settings  git Download the latest version of Githttp://git-scm.com/downloads when you install Git, you need a simple configuration, open the terminal: The first step of the user name, you need to tell git your name, This name will appear in your submission record. git config --global user.name  "Your name" email is then your email, also, this email will appear in your submission record, please try to keep this email and your [ Email protected] Registered email is consistent. git config --global user.email  "Your email" clone  and  PushClone  project Git clone  http://git.oschina.net/xxxxxx/xxxxxx.git Create attribute Branch git checkout -b  $feature _name Write code, commit change Git  commit -am  "My feature is ready" pushes your submission to  [email protected]git  push origin  $feature _name on the submission page you can view your changes, for example: http://git.oschina.net/oschina/git-osc/commit/ F3DD1C5BAE48FA4244E2595A39E750E5606DD9BE Create a  pull request you can fork any public project, and when you have modified your fork project, you can submit a pull to the source project  request. The author of the project can decide whether to apply the change to the source project after reviewing the code. Using the SVN tutorial on [email protected] has been organized here ssh keysssh key  can get you on your PC and  git @ osc Secure encrypted connection between  . You can generate sshkeyssh-keygen  by following the command below.-t rsa -c  "[email protected]" # creates a new ssh key using  the provided email# generating public/private rsa key pair ... Check your public key and add him to  git @ osc http://git.oschina.net/keyscat ~/.ssh/id_rsa.pub # ssh-rsa aaaab3nzac1yc2eaaaadaqabaaabaqc6entgpngwstc .... When added, enter ssh -t [email protected in the terminal (Terminal)], if return welcome to [email protected],  yourname!  proves that the addition was successful.


mark~ mac SSH key

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.