Uses 4887K of libraries. Click here for Pure Java version (1197L/8K/31K).
!7 static S host = "tinybrain.de"; static S user = "root"; static S command = "df -hi ."; static int timeout = 30; p-tt { print("Command: " + command); print("Connecting to " + host + " as " + user + "..."); S output = quickSSH2(user, host, command, timeout); print(asciiHeading("OUTPUT") + "\n"); print(output); }
Began life as a copy of #1004832
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: | #1004834 |
| Snippet name: | Test quickSSH2 with tinybrain.de, auto-find password (~/JavaX-Secret/*/<x>@<server>.ssh.pass) [OK] |
| Eternal ID of this version: | #1004834/3 |
| Text MD5: | e2529290932cd629fcb70a75f6970c5f |
| Transpilation MD5: | ff37f3b458368580055e0aa85e0faa50 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-08-28 00:52:16 |
| Source code size: | 341 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 719 / 870 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |