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).

1  
!759
2  
3  
static S host = "tinybrain.de";
4  
static S verifier = "5b:fd:de:ae:5b:d7:03:d2:8a:0d:0a:b6:7d:20:d0:d4";
5  
static S user = "root";
6  
static S command = "df -hi .";
7  
static int timeout = 30;
8  
9  
import org.slf4j.*;
10  
11  
p {
12  
  Logger root = LoggerFactory.getLogger(Logger.ROOT_LOGGER_NAME);
13  
  root.setLevel(Level.DEBUG);
14  
15  
  print("Connecting to " + host + " as " + user + " (no pw)...");
16  
  S output = quickSSH(host, verifier, null, command, timeout);
17  
  print(asciiHeading("OUTPUT") + "\n");
18  
  print(output);
19  
}

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: 545 / 644
Referenced in: [show references]