ismlsmile / parallel-ssh

Automatically exported from code.google.com/p/parallel-ssh
Other
0 stars 0 forks source link

Ability to pass multiple hosts with one -H flag #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please consider attached patch which adds ability to pass multiple hosts with 
one -H flag. Also accepts host list through PSSH_HOSTENTRIES environment 
variable.

Original issue reported on code.google.com by ilya@sukhanov.net on 16 Oct 2010 at 7:48

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for posting the patch.  I've been thinking about this, and I can see the 
value in it.  Can you think of any situations where this could get in the way 
or have unintended side effects?  Nothing is immediately coming to mind, but I 
would like to think about it for another day or two before applying it.  
Anyway, this looks like it would be helpful.  Thanks for your contribution.

Original comment by amcna...@gmail.com on 9 Jan 2011 at 6:23

GoogleCodeExporter commented 9 years ago
I glanced over it again and I think it should be benign. It does not allow -H 
"host user" format but nor did the old -H style.

Original comment by ilya@sukhanov.net on 10 Jan 2011 at 2:04

GoogleCodeExporter commented 9 years ago
Okay, I think I'm convinced.  I'll try out the patch later today.

Original comment by amcna...@gmail.com on 10 Jan 2011 at 2:44

GoogleCodeExporter commented 9 years ago
I've included this (with modifications) in commit #0cc5307.  Thank you very 
much for the patch.  I think this is a great addition.  Please let me know if 
you see any problems in the implementation.

Original comment by amcna...@gmail.com on 18 Jan 2011 at 7:19