Skip to content

Commit

Permalink
Enable strict host key checks for the restoration rsync transfer.
Browse files Browse the repository at this point in the history
  • Loading branch information
bartfeenstra committed May 28, 2018
1 parent 4f1a118 commit 6753dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backuppy/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def restore(configuration, path=None):
notifier.inform('Restoring %s...' % configuration.name)

args = ['rsync', '-ar', '--numeric-ids',
'-e', 'ssh -o "StrictHostKeyChecking no"']
'-e', 'ssh -o StrictHostKeyChecking=yes']
if configuration.verbose:
args.append('--verbose')
args.append('--progress')
Expand Down

0 comments on commit 6753dd2

Please sign in to comment.