Skip to content

Commit 5e39114

Browse files
author
charly palencia
committed
[fix] fix problem with the spelling
1 parent 4924f64 commit 5e39114

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,26 @@ MULTIPLE PUBLIC SSH KEY ON YOUR MAC OSX
44
Create your ssh keys
55
--------------------
66

7-
First you need to create your two ssh key
7+
First you need to create your two ssh key:
88

99
$ ssh-keygen -t rsa -C "test1@test.com"
1010
$ ssh-keygen -t rsa -f ~/.ssh/id_rsa_OTHER_LABEL -C "test2@test.com"
1111

12-
Note: You can use anyname for your public second key
12+
Note: You can use any name for your public second key
1313

1414

1515
Attach to github
1616
----------------
1717

18-
login in each github account and attach your keys respectively.
19-
What do you gonna attach ?
18+
Login in each github account and attach your keys respectively:
2019

2120
$ vim ~/.ssh/id_rsa[YOUR_NAME].pub
2221

23-
copy and paste into the public key field at github page
22+
Copy and paste into the public key field at github page
23+
24+
git-hub doc
25+
http://help.github.com/mac-set-up-git/
26+
2427

2528
Create a ssh config file
2629
------------------------
@@ -32,7 +35,7 @@ Create a config file
3235
$ touch ~/.ssh/config
3336
$ vim ~/.ssh/config
3437

35-
example:
38+
Example:
3639

3740
#Default GitHub
3841
Host github.com
@@ -45,7 +48,7 @@ example:
4548
User git
4649
IdentityFile ~/.ssh/id_rsa_OTHER_LABEL
4750

48-
and save the changes.
51+
And save the changes.
4952

5053
How does it works?
5154
------------------
@@ -58,11 +61,11 @@ Example
5861
$ git init
5962
$ git commit -m"firt commit"
6063

61-
now if you use your default one ( Github )
64+
If you want to use your default ssh key( Github ),, you should write this:
6265

6366
$ git remote add origin git@github.com:Company/testing.git
6467

65-
instead it, you want to use the other user just change the HOST name
68+
Otherwise, if you want to use the other ssh key write something like this:
6669

6770
$ git remote add origin git@github-COMPANY:Company/testing.git
6871

0 commit comments

Comments
 (0)