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

5
LINES

< > BotCompany Repo | #1004833 // findSSHPassword

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2633L/17K).

static S findSSHPassword(S user, S server) {
  ret trim(loadTextFile(
    orFail("SSH password for " + user + "@" + server + " not found on this machine (make a file called " + sshPasswordFileName(user, server) + " somewhere under " + javaxSecretDir() + ")",
    findSSHPasswordFile(user, server))));
}

Author comment

Began life as a copy of #1003785

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: #1004833
Snippet name: findSSHPassword
Eternal ID of this version: #1004833/4
Text MD5: 186655c2a63c2f7bad4afe5b7d5fe34e
Transpilation MD5: 9fe3bfaa18df7b200f069c24a86cc217
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-09-10 00:51:36
Source code size: 306 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 512 / 523
Version history: 3 change(s)
Referenced in: [show references]