You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code for this is a little hairy but, based on testing voxpupuli/beaker-docker, I don't think that rsync is able to use the password provided for SSH connections.
The evidence of this is when I was attempting to run the main acceptance tests in beaker-docker which hook back into this repository. The connection would hang for rsync and prompt for the root password.
The code in question is in the do_rsync_to method in host.rb. I don't see any obvious method by which the connection is told to use the provided username/password authentication. The comments allude to Vagrant which makes me think that it was not tested in Docker.
The text was updated successfully, but these errors were encountered:
I've worked around this by copying a ssh key over but it would be good if this could be done automatically and use a local generated key. host.scp_to("#{ENV['HOME']}/.ssh/id_rsa.pub", "/root/.ssh/authorized_keys") host.install_package('rsync')
The code for this is a little hairy but, based on testing voxpupuli/beaker-docker, I don't think that
rsync
is able to use the password provided for SSH connections.The evidence of this is when I was attempting to run the main acceptance tests in beaker-docker which hook back into this repository. The connection would hang for rsync and prompt for the root password.
The code in question is in the do_rsync_to method in host.rb. I don't see any obvious method by which the connection is told to use the provided username/password authentication. The comments allude to Vagrant which makes me think that it was not tested in Docker.
The text was updated successfully, but these errors were encountered: