Comment 0 for bug 1412782

Revision history for this message
Ramana Raja (rraja) wrote :

Currently the SSHPool class object does not authenticate to the server in its create() method if the path to SSH private key or user password is not passed during object creation. The create() method does not allow private key to be discovered in the default ~/.ssh folder while trying to authenticate to the server. This is because the create() method presently errors out when path to private key or password is not available. Please see line 136 of the following patch, https://github.com/openstack/manila/commit/3d47181a2eea5986ac147fb84bfbe60fd1a8c21d
So this behavior of the create () method is actually contrary to the commit message of the patch, which states that auto discovery of key from ~/.ssh folder is allowed.