Hi, we run RDM version Enterprise 14.1.3.0 and I need to change password on remote linux machine.
I thought doing it with a macro, there is a way for run a macro on multiple entries ?
How I can run a SSH macro with host's username and password as parameter ?
Thanks
Hello,
It is possible to execute a script on multiple SSH entries using the Execute Script in Terminal in the Context menu.
Then you can choose from the following method to run the script (Commands, Script file or Typing Macro).
And to use the host's username and password as parameter, it is possible using Variables.
https://help.remotedesktopmanager.com/settings_variables.htm
Best regards,
Érica Poirier
Hello Erica, thank you.
My sessions were imported from putty so I didn't have in the menu 'execute script in terminal'.
I've converted all entries from putty to ssh shell and this works for me now.
I still have two questions :
Can I generate a random password from powershell ?
Can I execute 'Execute Script in Terminal' in powershell with parametres ?
Kind regards
Hello,
Thank you for the information and glad that it's working now.
It is possible to generate random password using the New-RDMRandomPassword cmdlet. You can even specify which password template will be used to create the random password.
About the Execute script in Terminal, there is no RDM PowerShell cmdlets available to achieve this from a PowerShell script. Maybe it is possible using another method. Let me check about it. Please let me know if you have found a solution.
Best regards,
Érica Poirier