Skip to content

Commit

Permalink
Merge pull request #1078 from uc-cdis/fix/ssh
Browse files Browse the repository at this point in the history
fix(ssh): use libraries functionality for automatically adding ssh keys
  • Loading branch information
Avantol13 authored Mar 16, 2023
2 parents ccea801 + b949032 commit 608fb56
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 608fb56

Please sign in to comment.