Alex Dai Playground

[Git] 多帳號共存 ssh 設定

| Comments

.ssh/config

config
Host github.com
  HostName github.com
  User git
  IdentityFile ~/.ssh/id_rsa_personal

Host gitlab.alex.dai.com
  HostName gitlab.alex.dai.com
  User git
  IdentityFile ~/.ssh/id_rsa_work

Comments

comments powered by Disqus