Closed Arkham closed 11 years ago
As found here, https://github.com/welaika/wordmove/issues/25
There is something wrong in this piece of code:
https://github.com/stefanoverna/photocopier/blob/master/lib/photocopier/ssh.rb#L72
Aside from mixing gateway and non-gateway options, we shouldn't rely on options[:sshpass], because if a user doesn't supply a sshpass field, this method will default to nil, thus disabling sshpass.
@Arkham do you have time to propose a patch?
This should be fixed.
As found here, https://github.com/welaika/wordmove/issues/25
There is something wrong in this piece of code:
https://github.com/stefanoverna/photocopier/blob/master/lib/photocopier/ssh.rb#L72
Aside from mixing gateway and non-gateway options, we shouldn't rely on options[:sshpass], because if a user doesn't supply a sshpass field, this method will default to nil, thus disabling sshpass.