Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

19
LINES

< > BotCompany Repo | #1004832 // Test quickSSH with tinybrain.de, no password, testing

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Uses 4887K of libraries. Compilation Failed (222L/2K).

!759

static S host = "tinybrain.de";
static S verifier = "5b:fd:de:ae:5b:d7:03:d2:8a:0d:0a:b6:7d:20:d0:d4";
static S user = "root";
static S command = "df -hi .";
static int timeout = 30;

import org.slf4j.*;

p {
  Logger root = LoggerFactory.getLogger(Logger.ROOT_LOGGER_NAME);
  root.setLevel(Level.DEBUG);

  print("Connecting to " + host + " as " + user + " (no pw)...");
  S output = quickSSH(host, verifier, null, command, timeout);
  print(asciiHeading("OUTPUT") + "\n");
  print(output);
}

Author comment

Began life as a copy of #1004830

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1004832
Snippet name: Test quickSSH with tinybrain.de, no password, testing
Eternal ID of this version: #1004832/1
Text MD5: ed34cb26b50c706ce70bfbabde7c4b56
Transpilation MD5: e974eb276447b94a2a4b0170e906d521
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-09-03 15:04:47
Source code size: 519 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 546 / 646
Referenced in: #1004834 - Test quickSSH2 with tinybrain.de, auto-find password (~/JavaX-Secret/*/<x>@<server>.ssh.pass) [OK]