From 201494fcf8c82d596589fcd2462cdc6e8021b9f9 Mon Sep 17 00:00:00 2001 From: elijah Date: Fri, 4 Mar 2016 13:57:23 -0800 Subject: rsync bugfix: ensure that the ssh vagrant private key has the right permissions (like we do for ssh) --- lib/leap_cli/util/remote_command.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3