Skip to content

Commit

Permalink
fix(ssh): use libraries functionality for automatically adding ssh keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Avantol13 committed Mar 9, 2023
1 parent 9c8b705 commit e7aa8c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fence/sync/sync_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ def _get_from_sftp_with_proxy(self, server, path):
with paramiko.SSHClient() as client:
client.set_log_channel(self.logger.name)

client.set_missing_host_key_policy(paramiko.WarningPolicy())
client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
parameters = {
"hostname": str(server.get("host", "")),
"username": str(server.get("username", "")),
Expand Down

0 comments on commit e7aa8c8

Please sign in to comment.