Open ssh and run VBS-Scipt

avatar

Hello @all,
i open a ssh session and after login I would lke to run a VBS-Script.
On SecureCRT that one is possibel with the Run Button at top Menu.

Has RDM somthing like that or a other way to run a scipt.
I don't meen the way "after Login" from session entry.

Many thank's
Best Regads
RH

All Comments (4)

avatar

Hello,

Thank you for contacting us on that matter!

First of all, if you don't mind me asking, I would like to know when you mention the "After Login" if you are referring to to "Post Login" tab in the General section of the SSH Shell properties or to the "After Open" tab under the "Event" section.

If you are not averse to using the "After Open" tab of the "Event" section, it is possible there to link your SSH Shell session directly to a VBScript entry using the "Macro/Script/Tool" option like this :
forum image

Let me know if that helps!

Best regards,


Gabriel Degrandpré

avatar

Hello Mr Degrandpre,

many thank's for helping!
NO I don't meen after open or post login, sorry that I have expressed myself here misleadingly.
What I meen if i open a SSH Session and woking on my system and later on i would like to start / run a VBS Script.
I would like to start that scipt manually.
Is that one possible?

Many thank's for helping!
RH

avatar

Hello,

Yes, it is indeed possible to launch the script manually! You can use the "Execute Script in Terminal" button, found under the "Home" tab to do just that.
forum image

From the "Terminal Script List" window, you will be able to execute a command typed manually, use a Macro you already had configured, or even point to a script file.

Note that for the button to appear, you will need to first highlight a terminal session in the Navigation pane, to indicate in which connection the script should be sent.

Let me know if you have any additional questions on the subject!

Best regards,


Gabriel Degrandpré

avatar

Hello,

that's exactly what I'm looking for!!!
Many Thanks!