This commit is contained in:
GitSync 2024-11-20 03:22:12 +01:00
commit d804bffb8a

View file

@ -25,7 +25,7 @@ app="${app%"_app"}"
BORG_PASSPHRASE="$(yunohost app setting $app passphrase)" BORG_PASSPHRASE="$(yunohost app setting $app passphrase)"
repo="$(yunohost app setting $app repository)" #$4 repo="$(yunohost app setting $app repository)" #$4
if ssh-keygen -F "[domain.tld]:6060" >/dev/null ; then if ssh-keygen -F "[domain.tld]:<PORT_SSH>" >/dev/null ; then
BORG_RSH="ssh -i /root/.ssh/id_${app}_ed25519 -oStrictHostKeyChecking=yes " BORG_RSH="ssh -i /root/.ssh/id_${app}_ed25519 -oStrictHostKeyChecking=yes "
else else
BORG_RSH="ssh -i /root/.ssh/id_${app}_ed25519 -oStrictHostKeyChecking=no " BORG_RSH="ssh -i /root/.ssh/id_${app}_ed25519 -oStrictHostKeyChecking=no "