Host 192.168.0.141 KexAlgorithms diffie-hellman-group-exchange-sha1 #Host 10.1.*.* # PermitLocalCommand yes # # Unfortunately ssh does not support line breaks in config files # LocalCommand ssh -o PermitLocalCommand=no %n "which git >/dev/null && ([[ -d ~/.dotfiles ]] && (echo "Updating dotfiles on %h ..." && cd ~/.dotfiles && git pull -q && ./install >/dev/null) || (echo "Installing dotfiles on %h ..." && git clone -q http://gitea.pyrocode.xyz/tmerritt/dotfiles.git ~/.dotfiles && ./.dotfiles/install >/dev/null))"