First, you must use ssh-keygen to generate ssh key for your different accessing git sites. Like github, gitlab, or gitcafe etc.
$ ssh-keygen -t rsa -b 4096 -C "your_email@example.com"Finally, edit ~/.ssh/config to add configuration to specific git site
$ vi ~/.ssh/configHost gitlab.com
    RSAAuthentication yes
    IdentityFile ~/my-ssh-key-directory/my-gitlab-private-key-filename
    User git
Host git.assembla.com
    RSAAuthentication yes
    IdentityFile ~/.ssh/id_rsa_assembla
    User gitFEATURED TAGS
FRIENDS
- 安卓开发工具汇总
 - 稀土掘金
 - 开发技术前线
 - 脉脉不得语的技术博客
 - codeKK Android 开源项目集合
 - Trinea
 - Gracker
 - 23CODE android经典开源代码分享
 - 泡在网上的日子
 - V2EX
 - 简书
 - Github trending
 - Engineering at Facebook
 - Square Engineering Blog
 - NimbleDroid Blog
 - Jake Wharton
 - Cyril Mottier
 - Fernando Cejas
 - Mehdi Sakout
 - Yet Another Coder's Blog
 - App Chunk
 - Big Nerd Ranch
 - Realm
 - ReactiveX
 - FlatBuffers