mutil github accounts & ssh key config issue.I tried 'ssh-agent bash'

Hao Peng May 23, 2015

无标题.png

.ssh/config

 

Host id.github.com
    HostName github.com
    PreferredAuthentications publickey
    IdentityFile ~/.ssh/id_rsa
Host b.github.com
    HostName github.com
    PreferredAuthentications publickey
    IdentityFile ~/.ssh/b_rsa

the question is: when I add ssh key using ssh-add, something seems to be wrong.

1 answer

0 votes
Balázs Szakmáry
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 24, 2015

How is this related to SourceTree?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events