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

14
LINES

< > BotCompany Repo | #1004830 // Test quickSSH with tinybrain.de, no password, doesn't work

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

Uses 4887K of libraries. Click here for Pure Java version (217L/2K/7K).

!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;

p {
  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 #1003580

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1004830
Snippet name: Test quickSSH with tinybrain.de, no password, doesn't work
Eternal ID of this version: #1004830/1
Text MD5: 2184c4642bb3439bccc008de2b343b65
Transpilation MD5: 25a18acb9abdcc06e3302b178d3850b1
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-09-03 14:36:36
Source code size: 396 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 508 / 528
Referenced in: [show references]