View Single Post
Old 07-23-2019, 09:50 AM
jjh jjh is offline
VanDyke Customer Support
Join Date: Feb 2004
Posts: 819
Hello lionelrichie.

Thank you for contacting us. As you have alluded to, there isn't a mechanism that is built into SecureCRT to generate sessions based on a csv file. We offer a Python version and a VBScript version of a script that can generate SecureCRT sessions based on a csv file, which you can find on the following page on our forums:


We offer a video on our YouTube channel that explains how to use the script, which you can find on the following web page:


You will need to run the script from SecureCRT, which is a manual process, so if you choose to use the script, you will need to install SecureCRT on the machine where the sessions are to be generated. What it does is generate the .ini files that SecureCRT uses as sessions. The .ini files that are generated from the csv file are stored in a folder named "Sessions", that is found within the user's Config folder.

Since you are looking for a way to automate this process, it will be up to you to decide how you are going to do it. It sounds like you will need to find a way to monitor the .csv file for updates. Then, once the file has been updated, if you find a way to trigger something to happen, the event that happens could be launching SecureCRT with the /script flag so that the session generation script can run.

Also, the script generates all of the sessions from the .csv file each time it is run, but it will use a timestamp if duplicate sessions are created. You will have to take this into account so that you can decide whether or not it will make sense to generate all of the sessions every time the script is run.

Perhaps, every time you wanted to add new hosts, instead of adding them to an existing .csv file, you could create a new file and run the script against it. That way you wouldn't have to worry about how to deal with duplicates.

If you would like me to create an entry for you in our feature request database for a built in way to generate sessions based on a csv file, please send e-mail to referencing this forum thread so that I can include your e-mail address in the request.


Reply With Quote