mirror of https://github.com/huashengdun/webssh
Added a logging line
parent
3f3d061d58
commit
c549a01b1d
1
main.py
1
main.py
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue