View Single Post
  #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