diff options
| -rw-r--r-- | smoketests/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smoketests/base.py b/smoketests/base.py index aa0a0aae2..93f78f5dc 100644 --- a/smoketests/base.py +++ b/smoketests/base.py @@ -41,7 +41,7 @@ class SmokeTestCase(unittest.TestCase): while(True): try: client = paramiko.SSHClient() - client.set_missing_host_key_policy(paramiko.WarningPolicy()) + client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) client.connect(ip, username='root', pkey=key, timeout=5) return client except (paramiko.AuthenticationException, paramiko.SSHException): |
