Commit c549a01b by Sheng

Added a logging line

parent 3f3d061d
...@@ -322,6 +322,7 @@ def get_application_settings(): ...@@ -322,6 +322,7 @@ def get_application_settings():
host_keys = get_host_keys(filename) host_keys = get_host_keys(filename)
system_host_keys = get_host_keys(os.path.expanduser('~/.ssh/known_hosts')) system_host_keys = get_host_keys(os.path.expanduser('~/.ssh/known_hosts'))
policy_class = get_policy_class(options.policy) policy_class = get_policy_class(options.policy)
logging.info(policy_class.__name__)
if policy_class is paramiko.client.AutoAddPolicy: if policy_class is paramiko.client.AutoAddPolicy:
host_keys.save(filename) # for permission test host_keys.save(filename) # for permission test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment