SSH Login password no enter

avatar

Hi,
Using SSH to login with a linked(user vault) which works like a charm.
After login I created an event 'After open - Macro' with sudo -i line break $MACRO_PASSWORD$ and {ENTER}.
I've tried several other options as well, but so far Login works, sudo -i works, password works. Only the enter after the given password doesnt work.
When I enter manually it logs in correctly.
What am I missing here?

All Comments (4)

avatar

Anyone?

avatar

Hello egreiving,

I tried to reproduce your issue using the following macro:

sudo -i
$MACRO_PASSWORD${ENTER}


or

sudo -i
$MACRO_PASSWORD$



In both cases, it works on my end.

Have you tried adding a delay between the password and the Enter key? For example:

sudo -i
$MACRO_PASSWORD${DELAY}{ENTER}


Could you please let me know which version of RDM you're using?

Regards,

Gabriel Dubois

avatar

Hi Gabriel,
I am using 2024.3.26.0 version.
I use the macro as an event now with a delay. That finally does the trick for me.
Thanks Gabriel for answering very helpful

avatar

Had a very similar issue.
I managed to solve it by making the macro look like:

sudo -s
{1}
{DELAY}{ENTER}
date


The date never executes. The {1} is the first parameter in the typing macro (set to secured).

The initial wait is 1 second, Delay time 500 ms, Command 500 ms

I run RDM on MacOS 26, RDM is 2025.2.12.6

Very strange.