static SSHSession sshSession(S user, S host) ctex { SSHClient client = sshLogin(user, host); try { final Session session = client.startSession(); ret SSHSession(client, session); } on fail { client.disconnect(); } }
Began life as a copy of #1004835
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: | #1013025 |
Snippet name: | sshSession |
Eternal ID of this version: | #1013025/3 |
Text MD5: | 5d827a05d2f1f53a0fcb303a35b90a1d |
Author: | stefan |
Category: | javax / networking |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-22 11:56:37 |
Source code size: | 245 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 297 / 340 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |