From c549a01b1d4b71694669d2be92ea84826eae51df Mon Sep 17 00:00:00 2001 From: Sheng Date: Wed, 21 Mar 2018 08:07:34 +0800 Subject: [PATCH] Added a logging line --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 96dd4b5..869dbf2 100644 --- a/main.py +++ b/main.py @@ -322,6 +322,7 @@ def get_application_settings(): host_keys = get_host_keys(filename) system_host_keys = get_host_keys(os.path.expanduser('~/.ssh/known_hosts')) policy_class = get_policy_class(options.policy) + logging.info(policy_class.__name__) if policy_class is paramiko.client.AutoAddPolicy: host_keys.save(filename) # for permission test