Skip to content

Instantly share code, notes, and snippets.

@GINK03
Created September 20, 2019 18:20
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save GINK03/d6822cba97a45d44089cc4483a6552df to your computer and use it in GitHub Desktop.
.ssh/config

よく忘れるのでメモ

.ssh/config

Host github.com                                  
  User git  
  Port 22                                   
  HostName github.com                            
  IdentityFile ~/.ssh/id_github
  TCPKeepAlive yes                               
  IdentitiesOnly yes 
Host bitbucket.org
  User git                                       
  Port 22                                        
  HostName bitbucket.org
  IdentityFile ~/.ssh/id_github
  TCPKeepAlive yes                               
  IdentitiesOnly yes 
Host *
  User gimpei
  Port 22
  UseKeychain yes
  AddKeysToAgent yes
  IdentityFile ~/.ssh/id_github
  TCPKeepAlive yes                               
  IdentitiesOnly yes 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment