ssh ne doit pas demander interactivement de mot de passe, meme si la cle n'est pas bonne.

This commit is contained in:
ssamson-tis 2016-05-12 12:14:13 +02:00
parent 0e3892b755
commit 221f666ebd

View File

@ -140,6 +140,8 @@ class backup_rsync(backup_generic):
else:
# case of rsync + ssh
ssh_params = ['-o StrictHostKeyChecking=no']
ssh_params.append('-o BatchMode=yes')
if self.private_key:
ssh_params.append('-i %s' % self.private_key)
if self.cipher_spec: