aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/%HOME%/.ssh/config
blob: 73533cdd2d09328ff9824e9c17d2251fffb6a6b6 (plain) (tree)
1
2
3
4
5
6
7
8
9
                  
 



                         
                                     
                 
                              
                                    


                                                                        


                                                                              


                                
                     
                      
 


                                   
 
                                    
 



                  

               
 
                  
            


                                 
            

                           



                              



                           
AddKeysToAgent yes

# macOS stuff.
IgnoreUnknown UseKeychain
UseKeychain yes

# Make known_hosts actually readable.
HashKnownHosts no
# Don't verify localhost, duh.
NoHostAuthenticationForLocalhost yes
# Add server keys to known_hosts silently, I never bother to verify them
# anyway.
StrictHostKeyChecking no
# Actually, scratch that. Don't use known_hosts at all, what is this even for?
# Kappa implied.
UserKnownHostsFile /dev/null

# Keep ssh connections alive.
# Wonder why this isn't default.
ServerAliveCountMax 3
ServerAliveInterval 15

# Exit if port forwarding fails.
# Again, why is this not a default?
ExitOnForwardFailure yes

Include config_local config_my_hosts

Host bitbucket.org
    User git
Host github.com
    User git
Host gitlab.com
    User git

Host alt-bitbucket
    User git
    Hostname altssh.bitbucket.org
    Port 443
Host alt-github
    User git
    Hostname ssh.github.com
    Port 443
Host alt-gitlab
    User git
    Hostname altssh.gitlab.com
    Port 443

Host aur.archlinux.org
    User aur
    IdentityFile ~/.ssh/aur