Files
dotfiles/configs/ssh/config
T
tmerritt 391318a839 Adds SSH server and Axel
Adding fix for Apple keyboard F keys on MBP and MBA
2022-11-29 09:48:41 -05:00

7 lines
531 B
Plaintext

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))"