Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Scripting

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


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 06:41 PM.