SSH

多证书支持

vi ~/.ssh/config

Host ${host_name}
    HostName        ${host_name}
    User            ${user_name}
    IdentityFile    ${path/to/rsa_key}
Host github_corp
    HostName github.com
    User     hotoo
    IdentityFile ~/.ssh/corp_github_rsa_key
$ git clone git@github_corp:corp/repo.git

Books