Added a logging line

This commit is contained in:
Sheng
2018-03-21 08:07:34 +08:00
parent 3f3d061d58
commit c549a01b1d
+1
View File
@@ -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