I have a connection set up to open a terminal window (not SSH; this is on the same Mac host I am running Royal TSX on).
Connection Type is Custom Terminal
Computer Name is blank
Under Advanced/Custom Commands - I have my command with "sudo ..."
Of course I'm prompted for a password.
So I set up an Instant Trigger to match on the expression "Password:" and for Parameter, I sent the $EffectivePasswored$
But when I launch this, it pauses on the password prompt -- simply pressing enter allows it to proceed but I'd like it to auto-run the command. Can this be done?
Thanks
Best Answer
C
Christoph Muehlberger
said
over 3 years ago
Hi Ramias,
you could set up a Key Sequence Task and define an 'Enter' press there:
This Key Sequence Task can then be assigned to your connection via the 'Tasks' tab.
Alternatively, you could just define the sequence when editing the (Terminal) Connection Settings:
Ramias
I have a connection set up to open a terminal window (not SSH; this is on the same Mac host I am running Royal TSX on).
Connection Type is Custom Terminal
Computer Name is blank
Under Advanced/Custom Commands - I have my command with "sudo ..."
Of course I'm prompted for a password.
So I set up an Instant Trigger to match on the expression "Password:" and for Parameter, I sent the $EffectivePasswored$
But when I launch this, it pauses on the password prompt -- simply pressing enter allows it to proceed but I'd like it to auto-run the command. Can this be done?
Thanks
Hi Ramias,
you could set up a Key Sequence Task and define an 'Enter' press there:
This Key Sequence Task can then be assigned to your connection via the 'Tasks' tab.
Alternatively, you could just define the sequence when editing the (Terminal) Connection Settings:
Let me know if that helps!
best regards,
Christoph
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstChristoph Muehlberger
Hi Ramias,
you could set up a Key Sequence Task and define an 'Enter' press there:
This Key Sequence Task can then be assigned to your connection via the 'Tasks' tab.
Alternatively, you could just define the sequence when editing the (Terminal) Connection Settings:
Let me know if that helps!
best regards,
Christoph
1 person likes this
Ramias
That did it. Thank you very much.
1 person likes this
Christoph Muehlberger
Perfect.
Let me know if you need anything else, and have a nice day!
-
About this Forum
-
X11 forwarding
-
Royal TSX VMware connections
-
Sort items/folders in Navigation panel
-
Triggers and others changes..
-
Emulating full screen WITHOUT "Spaces"
-
Proper cred setup for smartcard RDP logon from MacOS
-
AutoFill/Login Google Drive?
-
Toggle broadcast input on/off
-
Royal TSX - Costum Keyboard Layout
See all 114 topics