same hostname for ssh/telnet and external session
Dear VanDyke Support,
Since years I am using secureCRT and I am delighted with this piece of software.
Also at my new employer with about 1200 network devices.
I want to start an additional application in parallel to a ssh session.
This is already working under logon actions with a vbs logon script i. e.
Set shell = CreateObject("WScript.Shell")
shell.Run """C:\Program Files\Internet Explorer\IExplore.exe"" https://10.21.0.233"
I have to create hundreds of scripts, for each session one script.
But I think it is possible to use the hostname used for the ssh or telnet session as a variable for the external session, maybe out of the session.ini file?
Or out of a hostlist file? Or......?
If yes, can you give me an example.
There are various methods you could use to accomplish your goal. One method would be to use the RemoteAddress property of the Session object. For example:
strHost = crt.Session.RemoteAddress
Does this help you accomplish your goal?
|Display Modes||Rate This Thread|