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

9
LINES

< > BotCompany Repo | #1013025 // sshSession

JavaX fragment (include)

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();
  }
}

Author comment

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: 295 / 338
Version history: 2 change(s)
Referenced in: [show references]