Merge branch 'main' of https://forgejo.linux07.fr/Linux07/Documentations-Linux07
This commit is contained in:
commit
d804bffb8a
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ app="${app%"_app"}"
|
|||
|
||||
BORG_PASSPHRASE="$(yunohost app setting $app passphrase)"
|
||||
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 "
|
||||
else
|
||||
BORG_RSH="ssh -i /root/.ssh/id_${app}_ed25519 -oStrictHostKeyChecking=no "
|
||||
|
|
Loading…
Reference in a new issue