hrk1l2x

1 minute read

register public key on multi repositry with same account

if you register same public key on multi repositry, Key is already in use github.

# set password
ssh-keygen -t rsa -b 4096 -C "" -f ~/.ssh/id_rsa_test_docker
Host github_test_docker
  HostName github.com
  IdentityFile ~/.ssh/id_rsa_test_docker
  User git
  Port 22
  TCPKeepAlive yes
  IdentitiesOnly yes

Host github_test_go
  HostName github.com
  IdentityFile ~/.ssh/id_rsa_test_go
  User git
  Port 22
  TCPKeepAlive yes
  IdentitiesOnly yes
comments powered by Disqus