reg multiple login python

Laura Creighton lac at openend.se
Thu Oct 1 05:10:19 EDT 2015


In a message of Thu, 01 Oct 2015 01:25:47 -0700, harirammanohar159 at gmail.com wr
ites:
>On Thursday, 1 October 2015 12:35:01 UTC+5:30, hariramm... at gmail.com  wrote:
>> Hi All,
>> 
>> Is there anyway i can login to remote servers at once and do the activity, i can do one by one using for loop..
>> 
>> Thanks in advance.
>
>Hi Laura,
>
>I have checked fabric tutorial and examples, it didn't sound that using fab we can do/push the thing at same time in all servers.
>Are you saying that using fab we can login to all servers at same time and do the activity and come out... if so, can you just give me some example..
>
>meanwhile i will try getting fab with py3.3 to machine...
>-- 
>https://mail.python.org/mailman/listinfo/python-list

I still don't know what you mean by 'at the same time'.

But see:
http://www.pythonforbeginners.com/systems-programming/how-to-use-fabric-in-a-development-environment/

change env.hosts to be a list of all the places that you want the things
you put in your fabfile.py to run.

I don't know if this is going to help you, or be any better than just
using a loop.  It depends on what your problem is.  Fabric is designed
to solve a certain set of problems, but I don't know if they are
the sort you have.

Laura



More information about the Python-list mailing list