From e798b847a6e80bf7725dce318f208008e768ca43 Mon Sep 17 00:00:00 2001 From: Luca Soto De Graeve Date: Thu, 12 Dec 2024 16:22:13 +0100 Subject: [PATCH] Auto add ssh missing host keys --- prefect_meemoo/ssh/credentials.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prefect_meemoo/ssh/credentials.py b/prefect_meemoo/ssh/credentials.py index 1b80744..615743b 100644 --- a/prefect_meemoo/ssh/credentials.py +++ b/prefect_meemoo/ssh/credentials.py @@ -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,