diff options
author | Toby Vincent <tobyv13@gmail.com> | 2021-03-21 19:03:03 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2021-03-21 19:03:03 -0500 |
commit | d762fa216f12a573b55c2ad02feb3a49235326e8 (patch) | |
tree | 94c3bf0d88a9533d4b507ddafd0d207a2e7a944e /ssh | |
parent | ec5dc4d93af9c57304ecc2c5468ad10225707d71 (diff) |
feat: updated ssh config to clone recursivly
Diffstat (limited to 'ssh')
-rwxr-xr-x | ssh/config | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -10,25 +10,25 @@ Host heimdall User pi HostName heimdall PermitLocalCommand yes - 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 https://github.com/tobyvin/dotfiles && ./dotfiles/install >/dev/null))" + 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 --recurse-submodules https://github.com/tobyvin/dotfiles && ./dotfiles/install >/dev/null))" Host loki User pi HostName loki.asgard PermitLocalCommand yes - 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 https://github.com/tobyvin/dotfiles && ./dotfiles/install >/dev/null))" + 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 --recurse-submodules https://github.com/tobyvin/dotfiles && ./dotfiles/install >/dev/null))" Host odin User tobyv HostName odin.asgard PermitLocalCommand yes - 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 https://github.com/tobyvin/dotfiles && ./dotfiles/install >/dev/null))" + 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 --recurse-submodules https://github.com/tobyvin/dotfiles && ./dotfiles/install >/dev/null))" Host thor User tobyv HostName thor.asgard PermitLocalCommand yes - 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 https://github.com/tobyvin/dotfiles && ./dotfiles/install >/dev/null))" + 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 --recurse-submodules https://github.com/tobyvin/dotfiles && ./dotfiles/install >/dev/null))" Host mjolnir User u0_a382 |