Skip to content

Instantly share code, notes, and snippets.

@GINK03 GINK03/config.md
Created Sep 20, 2019

Embed
What would you like to do?
.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
You can’t perform that action at this time.