Created
January 11, 2021 02:45
-
-
Save prl900/1566f149a527c7f77e5a0757a111c266 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
[ | |
"NCI Virtual Desktop" | |
], | |
{ | |
"NCI Virtual Desktop": { | |
"__class__": "siteConfig", | |
"__module__": "siteConfig", | |
"agent": { | |
"__class__": "cmdRegEx", | |
"__module__": "siteConfig", | |
"async": false, | |
"cmd": null, | |
"failFatal": true, | |
"formatFatal": false, | |
"host": "login", | |
"loop": false, | |
"regex": [ | |
null | |
], | |
"requireMatch": false | |
}, | |
"authURL": null, | |
"authorizedKeysFile": null, | |
"defaults": {}, | |
"directConnect": { | |
"__class__": "cmdRegEx", | |
"__module__": "siteConfig", | |
"async": false, | |
"cmd": null, | |
"failFatal": true, | |
"formatFatal": false, | |
"host": "login", | |
"loop": false, | |
"regex": [ | |
null | |
], | |
"requireMatch": false | |
}, | |
"displayStrings": { | |
"__class__": "sshKeyDistDisplayStrings", | |
"__module__": "siteConfig", | |
"createNewKeyDialogNewPassphraseMismatch": "Passphrases don't match", | |
"createNewKeyDialogNewPassphraseTooShort": "Passphrase is too short", | |
"helpEmailAddress": "[email protected]", | |
"networkError": "It looks like a network error has occured. You may be able to resume your work by logging in again.", | |
"newPassphrase": "This appears to be the first time that you're using the launcher on\nthis computer. A new SSH private key will now be generated which\nwill be used to authenticate you in future. Please enter a\npassphrase to protect this key.", | |
"newPassphraseEmptyForbidden": "Sorry, you can't use an empty passphrase. Please enter a new passphrase", | |
"newPassphraseMismatch": "Sorry, the passphrases don't match. Please enter a new passphrase", | |
"newPassphraseTitle": "Please enter a new passphrase", | |
"newPassphraseTooShort": "Sorry, the passphrase must be at least six character long. Please enter a new passphrase", | |
"passphrasePrompt": "Please enter the passphrase for you ssh key", | |
"passphrasePromptIncorrectl": "Sorry, that passphrase was incorrect. Please enter the passphrase for your ssh key", | |
"passwdPrompt": "Please enter the password for your NCI account.", | |
"passwdPromptIncorrect": "Sorry that password was incorrect. Please reenter", | |
"persistentMessage": "Would you like to leave your current session running so that you can reconnect later?\nIt has {timestring} remaining.", | |
"persistentMessagePersist": "Leave it running", | |
"persistentMessageStop": "Stop the desktop", | |
"qdelQueuedJob": "It looks like you've been waiting for a job to start.\nDo you want me to delete the job or leave it in the queue so you can reconnect later?\n", | |
"qdelQueuedJobNOOP": "Leave it in the queue (I'll reconnect later)", | |
"qdelQueuedJobQdel": "Delete the job", | |
"reconnectMessage": "An Existing Desktop was found. It has {timestring} remaining. Would you like to reconnect or kill it and start a new desktop?", | |
"reconnectMessageNo": "New desktop", | |
"reconnectMessageYes": "Reconnect", | |
"temporaryKey": "\nWould you like to use the launchers old behaviour (entering a password every time you start a new desktop) or try the new behaviour (creating an ssh key pair and entering a passphrase the first time you use the launcher after reboot.)\n\nPasswords are recomended if this is a shared user account.\n\nSSH Keys are recommended if you are the only person who uses this account.\n\nThis option can be changed from the Identity menu.\n", | |
"temporaryKeyNo": "Use my SSH Key", | |
"temporaryKeyYes": "Use my password every time" | |
}, | |
"displayWebDavInfoDialogOnRemoteDesktop": { | |
"__class__": "cmdRegEx", | |
"__module__": "siteConfig", | |
"async": false, | |
"cmd": null, | |
"failFatal": false, | |
"formatFatal": false, | |
"host": "login", | |
"loop": false, | |
"regex": [ | |
null | |
], | |
"requireMatch": false | |
}, | |
"execHost": { | |
"__class__": "cmdRegEx", | |
"__module__": "siteConfig", | |
"async": false, | |
"cmd": "/opt/vdi/bin/session-ctl --configver=20173552330 get-host --jobid={jobid}", | |
"failFatal": true, | |
"formatFatal": false, | |
"host": "login", | |
"loop": false, | |
"regex": [ | |
"^#~#host=(?P<execHost>.*?)#~#" | |
], | |
"requireMatch": true | |
}, | |
"getProjects": { | |
"__class__": "cmdRegEx", | |
"__module__": "siteConfig", | |
"async": false, | |
"cmd": null, | |
"failFatal": false, | |
"formatFatal": false, | |
"host": "login", | |
"loop": false, | |
"regex": [ | |
null | |
], | |
"requireMatch": false | |
}, | |
"listAll": { | |
"__class__": "cmdRegEx", | |
"__module__": "siteConfig", | |
"async": false, | |
"cmd": "/opt/vdi/bin/session-ctl --configver=20173552330 list-avail --partition=main", | |
"failFatal": false, | |
"formatFatal": false, | |
"host": "login", | |
"loop": false, | |
"regex": [ | |
"^#~#id=(?P<jobid>(?P<jobidNumber>.*?))#~#state=(?P<state>.*?)(?:#~#time_rem=(?P<remainingWalltime>.*?))?#~#" | |
], | |
"requireMatch": false | |
}, | |
"loginHost": "vdi-c3.nci.org.au", | |
"messageRegexs": [ | |
{ | |
"__class__": "__regex__", | |
"pattern": "^INFO:(?P<info>.*(?:\n|\r\n?))" | |
}, | |
{ | |
"__class__": "__regex__", | |
"pattern": "^WARN(ING)?:(?P<warn>.*(?:\n|\r\n?))" | |
}, | |
{ | |
"__class__": "__regex__", | |
"pattern": "^(ERROR|CRITICAL):(?P<error>.*(?:\n|\r\n?))" | |
} | |
], | |
"onConnectScript": { | |
"__class__": "cmdRegEx", | |
"__module__": "siteConfig", | |
"async": false, | |
"cmd": null, | |
"failFatal": false, | |
"formatFatal": false, | |
"host": "login", | |
"loop": false, | |
"regex": [ | |
null | |
], | |
"requireMatch": false | |
}, | |
"openWebDavShareInRemoteFileBrowser": { | |
"__class__": "cmdRegEx", | |
"__module__": "siteConfig", | |
"async": false, | |
"cmd": null, | |
"failFatal": false, | |
"formatFatal": false, | |
"host": "login", | |
"loop": false, | |
"regex": [ | |
null | |
], | |
"requireMatch": false | |
}, | |
"otp": { | |
"__class__": "cmdRegEx", | |
"__module__": "siteConfig", | |
"async": false, | |
"cmd": "/opt/vdi/bin/session-ctl --configver=20173552330 get-passwd", | |
"failFatal": true, | |
"formatFatal": false, | |
"host": "login", | |
"loop": false, | |
"regex": [ | |
"^#~#passwd=(?P<vncPasswd>.*?)#~#" | |
], | |
"requireMatch": true | |
}, | |
"relabel": {}, | |
"runSanityCheck": { | |
"__class__": "cmdRegEx", | |
"__module__": "siteConfig", | |
"async": false, | |
"cmd": "/opt/vdi/bin/session-ctl --configver=20173552330 hello --partition=main", | |
"failFatal": true, | |
"formatFatal": false, | |
"host": "login", | |
"loop": false, | |
"regex": [ | |
null | |
], | |
"requireMatch": false | |
}, | |
"running": { | |
"__class__": "cmdRegEx", | |
"__module__": "siteConfig", | |
"async": false, | |
"cmd": "/opt/vdi/bin/session-ctl --configver=20173552330 has-started --jobid={jobid}", | |
"failFatal": true, | |
"formatFatal": false, | |
"host": "login", | |
"loop": false, | |
"regex": [ | |
"^#~#active=1#~#" | |
], | |
"requireMatch": true | |
}, | |
"setDisplayResolution": { | |
"__class__": "cmdRegEx", | |
"__module__": "siteConfig", | |
"async": false, | |
"cmd": null, | |
"failFatal": false, | |
"formatFatal": false, | |
"host": "login", | |
"loop": false, | |
"regex": [ | |
null | |
], | |
"requireMatch": false | |
}, | |
"showStart": { | |
"__class__": "cmdRegEx", | |
"__module__": "siteConfig", | |
"async": false, | |
"cmd": "/opt/vdi/bin/session-ctl --configver=20173552330 start-pending --jobid={jobid}", | |
"failFatal": true, | |
"formatFatal": false, | |
"host": "login", | |
"loop": false, | |
"regex": [ | |
null | |
], | |
"requireMatch": false | |
}, | |
"startServer": { | |
"__class__": "cmdRegEx", | |
"__module__": "siteConfig", | |
"async": false, | |
"cmd": "/opt/vdi/bin/session-ctl --configver=20173552330 launch --geometry={resolution} --partition=main", | |
"failFatal": true, | |
"formatFatal": false, | |
"host": "login", | |
"loop": false, | |
"regex": [ | |
"^#~#id=(?P<jobid>(?P<jobidNumber>.*?))#~#" | |
], | |
"requireMatch": true | |
}, | |
"stop": { | |
"__class__": "cmdRegEx", | |
"__module__": "siteConfig", | |
"async": false, | |
"cmd": "/opt/vdi/bin/session-ctl --configver=20173552330 terminate --jobid={jobid}", | |
"failFatal": false, | |
"formatFatal": false, | |
"host": "login", | |
"loop": false, | |
"regex": [ | |
null | |
], | |
"requireMatch": false | |
}, | |
"stopForRestart": { | |
"__class__": "cmdRegEx", | |
"__module__": "siteConfig", | |
"async": false, | |
"cmd": "/opt/vdi/bin/session-ctl --configver=20173552330 terminate --jobid={jobid}", | |
"failFatal": false, | |
"formatFatal": false, | |
"host": "login", | |
"loop": false, | |
"regex": [ | |
null | |
], | |
"requireMatch": false | |
}, | |
"tunnel": { | |
"__class__": "cmdRegEx", | |
"__module__": "siteConfig", | |
"async": true, | |
"cmd": "{sshBinary} -A -T -o PasswordAuthentication=no -o ChallengeResponseAuthentication=no -o KbdInteractiveAuthentication=no -o PubkeyAuthentication=yes -o StrictHostKeyChecking=yes -L {localPortNumber}:localhost:{remotePortNumber} -l {username} {execHost} \"/opt/vdi/bin/session-ctl --configver=20173552330 tunnel\"", | |
"failFatal": true, | |
"formatFatal": false, | |
"host": "local", | |
"loop": false, | |
"regex": [ | |
"^#~#tunnel_up=1#~#" | |
], | |
"requireMatch": true | |
}, | |
"username": null, | |
"visibility": { | |
"advancedCheckBoxPanel": true, | |
"cipherPanel": false, | |
"debugCheckBoxPanel": "Advanced", | |
"loginHostPanel": false, | |
"resolutionPanel": true, | |
"resourcePanel": false, | |
"usernamePanel": true | |
}, | |
"vncDisplay": { | |
"__class__": "cmdRegEx", | |
"__module__": "siteConfig", | |
"async": false, | |
"cmd": "/opt/vdi/bin/session-ctl --configver=20173552330 get-display-nbr", | |
"failFatal": true, | |
"formatFatal": false, | |
"host": "exec", | |
"loop": false, | |
"regex": [ | |
"^#~#display=(?P<vncDisplay>.*?)#~#" | |
], | |
"requireMatch": true | |
}, | |
"webDavIntermediatePort": { | |
"__class__": "cmdRegEx", | |
"__module__": "siteConfig", | |
"async": false, | |
"cmd": null, | |
"failFatal": false, | |
"formatFatal": false, | |
"host": "login", | |
"loop": false, | |
"regex": [ | |
null | |
], | |
"requireMatch": false | |
}, | |
"webDavRemotePort": { | |
"__class__": "cmdRegEx", | |
"__module__": "siteConfig", | |
"async": false, | |
"cmd": null, | |
"failFatal": false, | |
"formatFatal": false, | |
"host": "login", | |
"loop": false, | |
"regex": [ | |
null | |
], | |
"requireMatch": false | |
}, | |
"webDavTunnel": { | |
"__class__": "cmdRegEx", | |
"__module__": "siteConfig", | |
"async": false, | |
"cmd": null, | |
"failFatal": false, | |
"formatFatal": false, | |
"host": "login", | |
"loop": false, | |
"regex": [ | |
null | |
], | |
"requireMatch": false | |
} | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment