... | ... | @@ -22,18 +22,20 @@ You will need access to a git service, so first browse to a git service and logi |
|
|
* Open a new `Terminal` window.
|
|
|
* Check to see if you already have a ssh key, as follows:
|
|
|
|
|
|
ls ~/.ssh/id_rsa*
|
|
|
ls ~/.ssh/id_rsa*
|
|
|
|
|
|
* If you already have an ssh key, skip this step. This is how to create a new ssh key:
|
|
|
|
|
|
ssh-keygen -b 2048 -t rsa -C "Some comment"
|
|
|
The comment should uniquely describe the computer you're using, for example,
|
|
|
"Home Macbook Pro" or whatever.
|
|
|
It will prompt you to enter passphrase. Just keep pressing Enter.
|
|
|
ssh-keygen -b 2048 -t rsa -C "Some comment"
|
|
|
|
|
|
The comment should uniquely describe the computer you're using, for example,
|
|
|
"Home Macbook Pro" or whatever.
|
|
|
|
|
|
It will prompt you to enter passphrase. Just keep pressing Enter.
|
|
|
|
|
|
* Use the following command to see your public key (a bunch of random-looking characters). You will need to copy & paste this SSH Public Key into your account on the git service provider.
|
|
|
|
|
|
cat ~/.ssh/id_rsa.pub
|
|
|
cat ~/.ssh/id_rsa.pub
|
|
|
|
|
|
#### Uploading your SSH Key
|
|
|
|
... | ... | |