Uses 4887K of libraries. Click here for Pure Java version (217L/2K/7K).
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 | p { |
10 | print("Connecting to " + host + " as " + user + " (no pw)..."); |
11 | S output = quickSSH(host, verifier, null, command, timeout); |
12 | print(asciiHeading("OUTPUT") + "\n"); |
13 | print(output); |
14 | } |
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: | 572 / 610 |
Referenced in: | [show references] |