Add sshloop function

main
Yax 2 years ago
parent 3436a54aee
commit fe13f0095a

@ -136,6 +136,15 @@ fi
alias cdd='cd {{ .deploydir }}'
export cdd={{ .deploydir }}
sshloop() {
while :
do
ssh $1
echo "Reconnection in 5 seconds"
sleep 5
done
}
# ---------------------------------------------------------------------------
# COMPLETIONS
# ---------------------------------------------------------------------------

Loading…
Cancel
Save