I have an automated process that creates a JSON for my hosts and i import into RDM and it works great. This for a new build/standup for a customer. It's a new customer every week and then i just delete it and re-create for the next customer and then re-import into a new database. I'm trying to login to Linux systems via SSH. I use the broadcast feature to then send multiple setup commands to each host to build them all in parallell.
However, it seems that the Post-Login page of the SSH session is not working.
First, i'm trying to send 2x CTRL-C to break the login process and return me to a command prompt. It sends the text {CTRL}C but not the actual control character. I might be doing it wrong. What is the string to add in Post-Login to be able to send a CTRL-C? (or actually send 2 CTRL-C with a 1 second delay after initial SSH is established, and then another 1 second delay until the 2nd CTRL-C.)
Second, when i try to edit what i have, i cannot add new commands. The + button is is greyed out. I can edit the existing commands added via JSON, and i can edit the delay. But i cant seem to add new commands.
Here is the JSON i create to import. It will create the SSH session and link to a linked credential.
{
"ConnectionType": "SSHShell",
"OpenEmbedded": true,
"CredentialConnectionID": "xxxxxxxxxxxxxxxxxxxxx",
"Group": "xxx\\xxx\\xxx\\xxx",
"TabGroupMode": "Inherited",
"ColorMode": "Inherited",
"Name": "xxxxxxxxxx",
"Terminal": {
"UseServerWindowTitle": false,
"Font": "Menlo",
"DisconnectAction": "KeepOpen",
"PrivateKeyPromptForPassPhrase": false,
"EnableLogging": true,
"ColorMode": 1,
"LogOverwriteMode": "Append",
"AlwaysAcceptFingerprintDefaultBoolean": true,
"Username": "xxxx",
"Host": "xxxxx",
"MaxScrollbackLines": 9999,
"ColorANSIBlue": "#0086FD",
"ColorDefaultForeground": "#F0F8FF",
"FontMac": "SF Mono",
"AlwaysAcceptFingerprint": true,
"FontSize": 13,
"ColorDefaultBackground": "#270603",
"FontMode": "Override",
"LogMode": "AllPrintableOutput",
"AfterConnectTerminalMacros": [
{
"Macro": "{CTRL}C"
},
{
"Macro": "{CTRL}C"
}
]
},
"VPN": {
"Mode": 5
}
},
(Sorry, when i pasted the JSON it removed all the indenting for some reason)
Here is the GUI and the + button is greyed out.
[image]