Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-08-2020, 10:09 AM
soezticle soezticle is offline
Registered User
 
Join Date: Aug 2018
Posts: 3
automate multiple sessions from list of nodes?

I get a (often larger than the example) list of nodes in text form from emails or ticketing systems, formatted as such:

host.a.domain
host.b.domain
host.c.domain
host.d.domain
host.e.domain
host.f.domain

which I would then run the same commands on, for example modifying an access-list that is identical among the list of nodes.

Using the command window and "send same keys immediately to all sessions" works great, but I'm unsure of how to automate the opening of sessions to each of the nodes in the list.

If I could copy/paste the list, or a portion of the list to open X number of shells each to an element that is copied, that would be awesome.
Has anyone approached this task or have thoughts?
Reply With Quote
  #2  
Old 01-08-2020, 12:55 PM
jjh jjh is offline
VanDyke Customer Support
 
Join Date: Feb 2004
Posts: 811
Hi soezticle.

We have a new script available on the following web page that will do what you are asking for:

- https://forums.vandyke.com/showpost....86&postcount=1

Does this look like it will help you?

I have also created an entry for you in our feature request database. We can post something here should a version of SecureCRT become available with the ability to specify multiple hostnames in a single Quick Connect dialog.

You might also consider using the script on the following web page to create a new folder with sessions for each of the hosts in your list:

- https://forums.vandyke.com/showpost....89&postcount=1

This might help if you have a list of sessions that all use the same authentication information and it matches the credentials from another saved session. You can use that pre-existing session as a template for your new sessions so you don't have to type the same username and password over and over.

JJH
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 02:07 AM.