summaryrefslogtreecommitdiff
path: root/lib/leap_cli/config/node.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-06-28 14:34:47 -0700
committerelijah <elijah@riseup.net>2016-06-28 14:34:47 -0700
commit263bb5699350a04484463aabde563679c4fed505 (patch)
tree5fb8cb82bf78f3d47b98c5aa721d1b288f803a68 /lib/leap_cli/config/node.rb
parente8de57c6309daeb5e25e1b0973adb8214255077f (diff)
mv sshkey to platform
Diffstat (limited to 'lib/leap_cli/config/node.rb')
-rw-r--r--lib/leap_cli/config/node.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/leap_cli/config/node.rb b/lib/leap_cli/config/node.rb
index 65735d5..f8ec052 100644
--- a/lib/leap_cli/config/node.rb
+++ b/lib/leap_cli/config/node.rb
@@ -67,7 +67,8 @@ module LeapCli; module Config
# returns a string list of supported ssh host key algorithms for this node.
# or an empty string if it could not be determined
def supported_ssh_host_key_algorithms
- @host_key_algo ||= SshKey.supported_host_key_algorithms(
+ require 'leap_cli/ssh'
+ @host_key_algo ||= LeapCli::SSH::Key.supported_host_key_algorithms(
Util.read_file([:node_ssh_pub_key, @node.name])
)
end