Github SSH Config -


i'm trying create .ssh/config file multiple ssh accounts (specifically github.com). i've tried several tutorials , github walk-throughs nothing seems work.

i created id_rsa_test , id_rsa_test.pub. uploaded id_rsa_test.pub github.

i created ~/.ssh/config file following:

# github account host github.com-test github.com     hostname github.com     user git      identifyfile ~/.ssh/id_rsa_test 

and

# github account host github.com-test github.com     hostname github.com     user git      identifyfile ~/.ssh/id_rsa_test.pub 

i try several commands. i.e.:

git clone git@github-test:username/my_project.git  git push 

...everytime following error:

/home/username/.ssh/config: line 5: bad configuration option: identifyfile /home/username/.ssh/config: terminating, 1 bad configuration options fatal: remote end hung unexpectedly 

any suggestions?

it identityfile 't', not identifyfile.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -