diff options
author | elijah <elijah@riseup.net> | 2016-03-04 13:57:23 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2016-03-17 14:15:50 -0700 |
commit | 201494fcf8c82d596589fcd2462cdc6e8021b9f9 (patch) | |
tree | 09ed25eab50ccddbe933017b51e9ce0812036b11 /lib/leap_cli | |
parent | e1085f775ba647b44830daffff39769b25b8bf65 (diff) |
rsync bugfix: ensure that the ssh vagrant private key has the right permissions (like we do for ssh)
Diffstat (limited to 'lib/leap_cli')
-rw-r--r-- | lib/leap_cli/util/remote_command.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/util/remote_command.rb b/lib/leap_cli/util/remote_command.rb index 70cd11a..10a5ca8 100644 --- a/lib/leap_cli/util/remote_command.rb +++ b/lib/leap_cli/util/remote_command.rb @@ -142,7 +142,7 @@ module LeapCli; module Util; module RemoteCommand def contingent_ssh_options_for_node(node) opts = {} if node.vagrant? - opts[:keys] = [Path::vagrant_ssh_priv_key_file] + opts[:keys] = [vagrant_ssh_key_file] opts[:keys_only] = true # only use the keys specified above, and ignore whatever keys the ssh-agent is aware of. opts[:paranoid] = false # we skip host checking for vagrant nodes, because fingerprint is different for everyone. if LeapCli::log_level <= 1 |