mirror of
https://github.com/borgbase/vorta
synced 2025-02-21 22:06:57 +00:00
parent
85e4d9d163
commit
d7ee812cf9
1 changed files with 3 additions and 0 deletions
|
@ -60,6 +60,9 @@ def __init__(self, cmd, params, parent=None):
|
|||
else:
|
||||
env['BORG_PASSPHRASE'] = '9999999' # Set dummy password to avoid prompt.
|
||||
|
||||
if env.get('BORG_PASSCOMMAND', False):
|
||||
env.pop('BORG_PASSPHRASE', None) # Unset passphrase
|
||||
|
||||
env['BORG_RSH'] = 'ssh -oStrictHostKeyChecking=no'
|
||||
ssh_key = params.get('ssh_key')
|
||||
if ssh_key is not None:
|
||||
|
|
Loading…
Reference in a new issue