Created
October 12, 2016 09:59
-
-
Save chengjianhua/bb44b318d81e1175754361c44fa7fe05 to your computer and use it in GitHub Desktop.
ssh config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### 以下为多个github 账户设置参考 #### | |
# first github user([email protected]),注意User项直接填git,不用填在github的用户名 | |
Host genedock.github.com | |
HostName github.com | |
User git | |
IdentityFile ~/.ssh/id_rsa_genedock | |
# gitlab | |
Host gitlab.com | |
HostName gitlab.com | |
User gitlab | |
IdentityFile ~/.ssh/id_rsa_gitlab | |
# second github user([email protected]) | |
# 建一个gitcafe别名,新建的帐号使用这个别名做克隆和更新 | |
Host chengjianhua.github.com | |
HostName github.com | |
User chengjianhua | |
IdentityFile ~/.ssh/id_rsa_chengjianhua |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment