Host *
    AddKeysToAgent yes
    UseKeychain yes
    Compression no
    ControlPath ~/.ssh/master-%r@%h:%p
    ControlMaster auto
    ControlPersist 5
    ExitOnForwardFailure yes
    ForwardAgent yes
    ForwardX11 no
    ForwardX11Trusted no
    GSSAPIAuthentication no
    IgnoreUnknown AddKeysToAgent,UseKeychain
    PreferredAuthentications publickey
    Protocol 2
    ServerAliveInterval 60
    ServerAliveCountMax 30
    IdentitiesOnly yes
Host gitlab.com
    UpdateHostKeys no
Host github.com
    UpdateHostKeys no