summaryrefslogtreecommitdiff
path: root/lib/leap_cli/ssh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/leap_cli/ssh')
-rw-r--r--lib/leap_cli/ssh/options.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/ssh/options.rb b/lib/leap_cli/ssh/options.rb
index 0bbaa36f..d991cc29 100644
--- a/lib/leap_cli/ssh/options.rb
+++ b/lib/leap_cli/ssh/options.rb
@@ -58,7 +58,7 @@ module LeapCli
def self.contingent_ssh_options_for_node(node)
opts = {}
if node.vagrant?
- opts[:keys] = [vagrant_ssh_key_file]
+ opts[:keys] = [LeapCli::Util::Vagrant.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,