mirror of https://github.com/borgbase/vorta
Use accept-new for host keys. By @delfino-nunez (#1238)
This commit is contained in:
parent
9cadcc0e97
commit
5b8f3a2915
|
@ -33,7 +33,7 @@ class BorgInfoRepoJob(BorgJob):
|
|||
|
||||
ret['additional_env'] = {
|
||||
'BORG_UNKNOWN_UNENCRYPTED_REPO_ACCESS_IS_OK': "yes",
|
||||
'BORG_RSH': 'ssh -oStrictHostKeyChecking=no'
|
||||
'BORG_RSH': 'ssh -oStrictHostKeyChecking=accept-new'
|
||||
}
|
||||
|
||||
ret['password'] = params['password'] # Empty password is '', which disables prompt
|
||||
|
|
|
@ -28,7 +28,7 @@ class BorgInitJob(BorgJob):
|
|||
cmd.append(params['repo_url'])
|
||||
|
||||
ret['additional_env'] = {
|
||||
'BORG_RSH': 'ssh -oStrictHostKeyChecking=no'
|
||||
'BORG_RSH': 'ssh -oStrictHostKeyChecking=accept-new'
|
||||
}
|
||||
|
||||
ret['encryption'] = params['encryption']
|
||||
|
|
Loading…
Reference in New Issue