# source: https://github.com/c02y/dotfiles/blob/master/ssh/.ssh/config
# archive: https://web.archive.org/web/20220327105847/https://github.com/c02y/dotfiles/blob/master/ssh/.ssh/config

# speed up git,
# http://droidyue.com/blog/2014/10/15/speed-up-your-git/
# http://interrobeng.com/2013/08/25/speed-up-git-5x-to-50x/
ControlMaster auto
#ControlPath /tmp/%r@%h:%p
ControlPath /tmp/git@github.com:22
ControlPath /tmp/git@git.oschina.net:22
ControlPath /tmp/git@gitcafe.com:22
ControlPersist yes

Host *
PermitLocalCommand yes
LocalCommand if [[ $TERM == xterm-256color ]]; then printf "\033k%h\033\\"; fi
