#1
|
|||
|
|||
Programaticaly Generating Session Files
I'm on Linux and see the Session files are just text files in some Key=Value format.
I have an IPAM with IP and hostname, I was wondering if there are any issues with me simply writing a script to generate the Session files in ~/.vandyke/SecureCRT/Config/Sessions? I could take anyone of the existing ones as an example. I'm all SSH key based login everywhere. So I'll I'd really need to change is the display name and hostname in each file and spit it out. Is there anything I'm missing? Or would this work? This would make it easier for co-workers potentially to quickly get setup also. |
#2
|
|||
|
|||
I suppose I can isolate the automated stuff into a folder, then on a cron just wipe that folder and regenerate from my IPAM. This would allow my SecureCRT to completely stay in sync with changes also.
|
#3
|
|||
|
|||
Hi SajanP,
I am not very familiar with IPAM. Are you able to export your IP/Hostname list to a CSV/text file by chance? If so, we have an example script posted that would likely work well for you to generate the desired sessions. Please refer to the following link: https://forums.vandyke.com/showpost....89&postcount=1Do you think this example script would work for you?
__________________
Thanks, --Brittney VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|