aboutsummaryrefslogtreecommitdiff
path: root/lib/leap_cli/commands/shell.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-07-29 21:06:36 -0700
committerelijah <elijah@riseup.net>2013-07-29 21:06:36 -0700
commit0108ea577ed833f40866789e34af00c5e526224b (patch)
treedbb5c0ea5af13efea8a7e6410f967e2003108273 /lib/leap_cli/commands/shell.rb
parente00e5d2b501a0d2727ea84fb1ea3e597e1e37ee4 (diff)
downloadleap_cli-0108ea577ed833f40866789e34af00c5e526224b.tar.gz
leap_cli-0108ea577ed833f40866789e34af00c5e526224b.tar.bz2
allow ssh to disabled nodes
Diffstat (limited to 'lib/leap_cli/commands/shell.rb')
-rw-r--r--lib/leap_cli/commands/shell.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/commands/shell.rb b/lib/leap_cli/commands/shell.rb
index e87e810..40990e9 100644
--- a/lib/leap_cli/commands/shell.rb
+++ b/lib/leap_cli/commands/shell.rb
@@ -35,7 +35,7 @@ module LeapCli; module Commands
private
def exec_ssh(cmd, args)
- node = get_node_from_args(args)
+ node = get_node_from_args(args, :include_disabled => true)
options = [
"-o 'HostName=#{node.ip_address}'",
# "-o 'HostKeyAlias=#{node.name}'", << oddly incompatible with ports in known_hosts file, so we must not use this or non-standard ports break.