SSHPool in utils should allow customized host key missing policy
The cinder/utils SSHPool should allow missing key policy and host key
file being customized so that any caller can determine by their own
scenario if the host key file can be customized, or if an 'AutoAdd' is
appropriate, or just reject the key when mismatch. This will give more
flexible customization and also prevent any security issue as a middle
man.
Reviewed: https:/ /review. openstack. org/94165 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=39081787963 298be87c1941ab6 cba5310f6261c6
Committed: https:/
Submitter: Jenkins
Branch: master
commit 39081787963298b e87c1941ab6cba5 310f6261c6
Author: Lynxzh <email address hidden>
Date: Mon May 19 18:47:16 2014 +0800
SSHPool in utils should allow customized host key missing policy
The cinder/utils SSHPool should allow missing key policy and host key
file being customized so that any caller can determine by their own
scenario if the host key file can be customized, or if an 'AutoAdd' is
appropriate, or just reject the key when mismatch. This will give more
flexible customization and also prevent any security issue as a middle
man.
Closes-Bug: #1320056 9ecd45429d376bd 88d0aefb2cc
Change-Id: I3c72b0d042de71