Skip to content

Commit

Permalink
Auto add ssh missing host keys
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasotodegraeve committed Dec 12, 2024
1 parent cc92dfa commit e798b84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prefect_meemoo/ssh/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_client(self) -> SSHClient:
"""

client = SSHClient()
client.load_system_host_keys()
client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
try:
client.connect(
hostname=self.hostname,
Expand Down

0 comments on commit e798b84

Please sign in to comment.