commit c549a01b1d4b71694669d2be92ea84826eae51df
parent 3f3d061d58ac9c9ab1b0ed22390c7cd11d3060e0
Author: Sheng <webmaster0115@gmail.com>
Date: Wed, 21 Mar 2018 08:07:34 +0800
Added a logging line
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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