Files
dotfiles/configs/ssh/config
T

18 lines
753 B
Plaintext

Host 192.168.0.141
KexAlgorithms diffie-hellman-group-exchange-sha1
Host git.pyrocode.xyz
Port 2222
IdentitiesOnly yes
IdentityFile ~/.ssh/id_rsa
# entry generated by okteto
Host 172.24.4.115
HostName 172.24.4.115
User tmerritt
Host 10.1.24.115
HostName 10.1.24.115
User tmerritt
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))"