diff options
author | elijah <elijah@riseup.net> | 2014-03-19 15:06:20 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-03-19 15:06:20 -0700 |
commit | bf3f301678a38d7436635db5fdc1e669c31da231 (patch) | |
tree | 3da62e9210db914c3ec40d53e2c6cebb7c962732 /lib/leap_cli/commands | |
parent | b4407890476324742e560c3dcb6bda251f2fec12 (diff) |
yep, another attempt to fix ssh. (now authorized_keys2 is set to insecure vagrant key)
Diffstat (limited to 'lib/leap_cli/commands')
-rw-r--r-- | lib/leap_cli/commands/node.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/leap_cli/commands/node.rb b/lib/leap_cli/commands/node.rb index fdd1fa8..b554c1f 100644 --- a/lib/leap_cli/commands/node.rb +++ b/lib/leap_cli/commands/node.rb @@ -64,10 +64,9 @@ module LeapCli; module Commands ssh_connect_options = connect_options(options).merge({:bootstrap => true, :echo => options[:echo]}) ssh_connect(node, ssh_connect_options) do |ssh| if node.vagrant? - ssh.install_authorized_keys2 - else - ssh.install_authorized_keys + ssh.install_insecure_vagrant_key end + ssh.install_authorized_keys ssh.install_prerequisites ssh.leap.capture(facter_cmd) do |response| if response[:exitcode] == 0 |