Skip to content

Is it possible to use wildcards or ranges of hosts or IP address? #294

Locked Answered by pkittenis
jringoot asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the interest.

No. Generate the host list in python.

hosts = [f"192.168.1.{x}" for x in range(1,10)]
client = ParallelSSHClient(hosts)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jringoot
Comment options

@pkittenis
Comment options

Answer selected by pkittenis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants