# File lib/rye/box.rb, line 305 305: def interactive_ssh(run=true) 306: debug "interactive_ssh with keys: #{@rye_opts[:keys].inspect}" 307: run = false unless STDIN.tty? 308: args = [] 309: @rye_opts[:keys].each { |key| args.push *[:i, key] } 310: args << "#{@rye_user}@#{@rye_host}" 311: cmd = Rye.prepare_command("ssh", args) 312: return cmd unless run 313: system(cmd) 314: end