|
@ -436,11 +436,11 @@ compose:install-backup() { |
|
|
ping_check "$host" || return 1 |
|
|
ping_check "$host" || return 1 |
|
|
|
|
|
|
|
|
if [ -e "/root/.ssh/rsync_rsa" ]; then |
|
|
if [ -e "/root/.ssh/rsync_rsa" ]; then |
|
|
warn "deleting private key in /root/.ssh/rsync_rsa, has we are not using it anymore." |
|
|
|
|
|
|
|
|
warn "deleting private key in /root/.ssh/rsync_rsa, as we are not using it anymore." |
|
|
rm -fv /root/.ssh/rsync_rsa |
|
|
rm -fv /root/.ssh/rsync_rsa |
|
|
fi |
|
|
fi |
|
|
if [ -e "/root/.ssh/rsync_rsa.pub" ]; then |
|
|
if [ -e "/root/.ssh/rsync_rsa.pub" ]; then |
|
|
warn "deleting public key in /root/.ssh/rsync_rsa.pub, has we are not using it anymore." |
|
|
|
|
|
|
|
|
warn "deleting public key in /root/.ssh/rsync_rsa.pub, as we are not using it anymore." |
|
|
rm -fv /root/.ssh/rsync_rsa.pub |
|
|
rm -fv /root/.ssh/rsync_rsa.pub |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|